summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-02-12 23:06:51 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-02-12 23:06:51 +0500
commit37a999ebaf30e7ce1ca00f951ed7d25e71bc5615 (patch)
treeeea835ac542594f02db1d8219a5c9d25049203ca /web
parent7bea418a6575d8d02c1f3eb9f3dbb99fe4d90b0a (diff)
downloadchat-37a999ebaf30e7ce1ca00f951ed7d25e71bc5615.tar.gz
chat-37a999ebaf30e7ce1ca00f951ed7d25e71bc5615.tar.bz2
chat-37a999ebaf30e7ce1ca00f951ed7d25e71bc5615.zip
Adding import instead of require for fastclick
Diffstat (limited to 'web')
-rw-r--r--web/react/components/navbar.jsx2
1 files changed, 1 insertions, 1 deletions
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) {