Adding import instead of require for fastclick

This commit is contained in:
Asaad Mahmood
2016-02-12 23:06:51 +05:00
parent 7bea418a65
commit 37a999ebaf

View File

@@ -25,10 +25,10 @@ const ActionTypes = Constants.ActionTypes;
import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
import {FormattedMessage} from 'mm-intl';
import attachFastClick from 'fastclick';
const Popover = ReactBootstrap.Popover;
const OverlayTrigger = ReactBootstrap.OverlayTrigger;
const attachFastClick = require('fastclick');
export default class Navbar extends React.Component {
constructor(props) {