diff --git a/web/react/components/navbar.jsx b/web/react/components/navbar.jsx index 06345b5840..8352986352 100644 --- a/web/react/components/navbar.jsx +++ b/web/react/components/navbar.jsx @@ -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) {