diff --git a/caravel/assets/javascripts/reduxUtils.js b/caravel/assets/javascripts/reduxUtils.js index 16f0046bb58c4..e247d0b9e81fc 100644 --- a/caravel/assets/javascripts/reduxUtils.js +++ b/caravel/assets/javascripts/reduxUtils.js @@ -67,15 +67,9 @@ export function addToArr(state, arrKey, obj) { export function enhancer() { let enhancerWithPersistState = compose(persistState()); if (process.env.NODE_ENV === 'dev') { - if (window.devToolsExtension) { - enhancerWithPersistState = compose( - persistState(), window.devToolsExtension && window.devToolsExtension() - ); - } else { - console.warn('You may encounter errors unless' + - 'you have Redux Devtool Extension installed: ' + - 'http://github.com/zalmoxisus/redux-devtools-extension'); - } + enhancerWithPersistState = compose( + persistState(), window.devToolsExtension && window.devToolsExtension() + ); } return enhancerWithPersistState; }