diff --git a/src/store.js b/src/store.js index 32aa0bbaf..1f37fe3f6 100644 --- a/src/store.js +++ b/src/store.js @@ -14,7 +14,9 @@ export default function configureStore(initialState = {}) { // If Redux DevTools Extension is installed use it, otherwise use Redux compose /* eslint-disable no-underscore-dangle */ const composeEnhancers = - typeof window === 'object' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ + process.env.NODE_ENV !== 'production' && + typeof window === 'object' && + window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : compose;