diff --git a/src/store/enhancers/index.js b/src/store/enhancers/index.js index 9a6dd707..68bec9af 100644 --- a/src/store/enhancers/index.js +++ b/src/store/enhancers/index.js @@ -4,9 +4,11 @@ import querySync from './querySync'; import projection from './projection'; const composeEnhancers = - window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({ - trace: true, - traceLimit: 25, - }) || compose; + (window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && + window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({ + trace: true, + traceLimit: 25, + })) || + compose; export default composeEnhancers(querySync, projection);