[Glitch] Fix context selector trying to mutate immutable state

Port 98e6dfcbcf7a6b3d7fb43f683cea7b93c2f93c9b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire 2025-04-29 10:12:05 +02:00
parent 0958351060
commit 9e56e826a2

View File

@ -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) &&