2
0

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

This commit is contained in:
Claire
2025-04-29 10:12:05 +02:00
committed by GitHub
parent 7cb93ef5a1
commit 98e6dfcbcf

View File

@@ -41,7 +41,7 @@ export const getDescendantsIds = createAppSelector(
} }
if (replies) { if (replies) {
replies.reverse().forEach((replyId) => { replies.toReversed().forEach((replyId) => {
if ( if (
!visitIds.includes(replyId) && !visitIds.includes(replyId) &&
!descendantsIds.includes(replyId) && !descendantsIds.includes(replyId) &&