mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Fix context selector trying to mutate immutable state (#34573)
This commit is contained in:
@@ -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) &&
|
||||
|
||||
Reference in New Issue
Block a user