diff --git a/packages/toolkit/src/immutableStateInvariantMiddleware.ts b/packages/toolkit/src/immutableStateInvariantMiddleware.ts index bd41990e75..27f7607654 100644 --- a/packages/toolkit/src/immutableStateInvariantMiddleware.ts +++ b/packages/toolkit/src/immutableStateInvariantMiddleware.ts @@ -55,6 +55,7 @@ function trackProperties( ignorePaths, obj[key], childPath, + checkedObjects ) } }