Fix context selector trying to mutate immutable state (#34573)

This commit is contained in:
Claire authored and GitHub committed 2025-04-29 08:12:05 +00:00
1 parent 7cb93ef5a1
commit 98e6dfcbcf
1 file changed
+1 -1
@@ -41,7 +41,7 @@ export const getDescendantsIds = createAppSelector(
}
if (replies) {
replies.reverse().forEach((replyId) => {
replies.toReversed().forEach((replyId) => {
if (
!visitIds.includes(replyId) &&
!descendantsIds.includes(replyId) &&