Skip to content

Commit

Permalink
Update store.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
morewings authored May 17, 2024
1 parent c3db1a6 commit 628e243
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/state/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ export type RootState = ReturnType<typeof rootReducer>;
export const makeStore = () => {
return configureStore({
reducer: rootReducer,
// Adding the api middleware enables caching, invalidation, polling,
// and other useful features of `rtk-query`.
middleware: getDefaultMiddleware =>
getDefaultMiddleware({
serializableCheck: {ignoredActionPaths: ['payload', 'payload.headers']},
Expand Down

0 comments on commit 628e243

Please sign in to comment.