Skip to content

Commit

Permalink
chores: Store - turn off devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
winetree94 committed Sep 7, 2023
1 parent fc4dd31 commit d8c6ba3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const reducers = combineReducers({
});

export const store = configureStore({
devTools: process.env.NODE_ENV !== 'production',
devTools: false,
// devTools: process.env.NODE_ENV !== 'production',
reducer: reducers,
middleware: (getDefaultMiddleware) =>
getDefaultMiddleware().prepend(
Expand Down

0 comments on commit d8c6ba3

Please sign in to comment.