Fix broken app for clients with react dev tools extension
This commit is contained in:
parent
a68ac974fe
commit
46ccd1d26a
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user