Skip to content

Commit

Permalink
Add ignoredActions - redux-persist
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb committed Jan 19, 2024
1 parent 3e60b55 commit aa8ca78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/store/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ export const store = configureStore({
middleware: (getDefaultMiddleware) =>
getDefaultMiddleware({
serializableCheck: {
ignoredActions: ["editor/setDoc", "editor/setClient"],
ignoredActions: [
"persist/PERSIST", // redux-persist
"editor/setDoc",
"editor/setClient",
],
ignoredPaths: ["editor.doc", "editor.client"],
},
immutableCheck: {
Expand Down

0 comments on commit aa8ca78

Please sign in to comment.