Skip to content

Commit 6a17ea9

Browse files
paztisEskiMojo14
authored andcommitted
fix trackProperties recursion
passdown the checkedObjects to detect circularity
1 parent 48d874f commit 6a17ea9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/toolkit/src/immutableStateInvariantMiddleware.ts

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function trackProperties(
5555
ignorePaths,
5656
obj[key],
5757
childPath,
58+
checkedObjects
5859
)
5960
}
6061
}

0 commit comments

Comments
 (0)