aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/react/index.js')
-rw-r--r--src/client/react/index.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/react/index.js b/src/client/react/index.js
index bb7a21b..e1bae3c 100644
--- a/src/client/react/index.js
+++ b/src/client/react/index.js
@@ -5,7 +5,12 @@ import { createStore } from 'redux';
import reducer from './reducers';
import App from './App';
-const store = createStore(reducer);
+/* eslint-disable no-underscore-dangle */
+const store = createStore(
+ reducer,
+ window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(),
+);
+/* eslint-enable */
ReactDOM.render(
<Provider store={store}>