Skip to content

Commit 14a3f2e

Browse files
committed
Fix non-serializable detect error
1 parent 274fd21 commit 14a3f2e

File tree

1 file changed

+1
-1
lines changed
  • generators/react/templates/src/main/webapp/app/config

1 file changed

+1
-1
lines changed

generators/react/templates/src/main/webapp/app/config/store.ts.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const store = configureStore({
4545
getDefaultMiddleware({
4646
serializableCheck: {
4747
// Ignore these field paths in all actions
48-
ignoredActionPaths: ['payload.config', 'payload.request', 'error', 'meta.arg'],
48+
ignoredActionPaths: ['payload.config', 'payload.request', 'payload.headers', 'error', 'meta.arg'],
4949
},
5050
}).concat(
5151
errorMiddleware,

0 commit comments

Comments
 (0)