Fix broken app for clients with react dev tools extension

This commit is contained in:
Jerko Steiner 2016-04-05 12:50:25 -04:00
parent a68ac974fe
commit 46ccd1d26a

View File

@ -1,5 +1,7 @@
'use strict';
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = {};
if (!window.__REACT_DEVTOOLS_GLOBAL_HOOK__) {
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = {};
}
const App = require('./components/app.js');
const React = require('react');