Fix context selector trying to mutate immutable state (#34573)

pull/34577/head
Claire 7 months ago committed by GitHub
parent 7cb93ef5a1
commit 98e6dfcbcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save