[Glitch] Fix context selector trying to mutate immutable state

Port 98e6dfcbcf to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire committed 2025-05-03 18:11:55 +02:00
1 parent 0958351060
commit 9e56e826a2
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) &&