diff --git a/src/App.jsx b/src/App.jsx index 867d647..8a3406a 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -55,7 +55,9 @@ const store = createStore( writeReviews: writeReviewsReducer, planner: plannerReducer, }), - window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(), + process.env.NODE_ENV === 'development' + ? window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() + : null, ); class App extends Component {