[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:
parent
0958351060
commit
9e56e826a2
@ -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) &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user