diff --git a/src/store/configureStore.js b/src/store/configureStore.js index 8d07ed66d..f11904d81 100644 --- a/src/store/configureStore.js +++ b/src/store/configureStore.js @@ -6,7 +6,7 @@ import { createStore } from 'redux'; import rootReducer from '../reducers'; export default function configureStore(initialState) { - const store = createStore(rootReducer, initialState); + const store = (window.devToolsExtension ? window.devToolsExtension()(createStore) : createStore)(rootReducer, initialState); if (module.hot) { // Enable Webpack hot module replacement for reducers