mirror of
https://github.com/mastodon/mastodon.git
synced 2026-04-24 07:10:12 -05:00
Fix context selector trying to mutate immutable state (#34573)
This commit is contained in:
parent
7cb93ef5a1
commit
98e6dfcbcf
|
|
@ -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) &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user