From 37a999ebaf30e7ce1ca00f951ed7d25e71bc5615 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Fri, 12 Feb 2016 23:06:51 +0500 Subject: Adding import instead of require for fastclick --- web/react/components/navbar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/react/components/navbar.jsx') diff --git a/web/react/components/navbar.jsx b/web/react/components/navbar.jsx index 06345b584..835298635 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) { -- cgit v1.2.3-1-g7c22