diff --git a/frontend/src/state/store.js b/frontend/src/state/store.js index 70a3c77a..52afdb65 100644 --- a/frontend/src/state/store.js +++ b/frontend/src/state/store.js @@ -12,11 +12,13 @@ const { applyMiddleware } = redux; +const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; + module.exports = (state = Object.freeze({})) => { return createStore( enableBatching(createReducer()), state, - compose( + composeEnhancers( applyMiddleware( createLogger(), promiseMiddleware(),