diff --git a/src/client/index.js b/src/client/index.js index 7742e77..f1e5f81 100644 --- a/src/client/index.js +++ b/src/client/index.js @@ -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');