fix: ignore large slices in immutable check (#7425)
This commit is contained in:
parent
040ebb5475
commit
0381200fec
@ -15,6 +15,9 @@ export function createDefaultStore() {
|
||||
middleware: (getDefaultMiddleware) =>
|
||||
getDefaultMiddleware({
|
||||
thunk: true,
|
||||
immutableCheck: {
|
||||
ignoredPaths: [routingApi.reducerPath, 'logs', 'lists'],
|
||||
},
|
||||
serializableCheck: {
|
||||
// meta.arg and meta.baseQueryMeta are defaults. payload.trade is a nonserializable return value, but that's ok
|
||||
// because we are not adding it into any persisted store that requires serialization (e.g. localStorage)
|
||||
|
Loading…
Reference in New Issue
Block a user