Skip to content

Commit 34a4aff

Browse files
authored
Merge pull request #22492 from hide212131/22490-fix-non-serializable-detect-error
Fix non-serializable detect error
2 parents 274fd21 + 14a3f2e commit 34a4aff

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)