Use consistent index for reading last item (#4817)
This commit is contained in:
parent
4af6bcb11a
commit
9bd8393685
1 changed files with 2 additions and 2 deletions
|
@ -56,12 +56,12 @@ let FeedSlice = ({
|
|||
record={slice.items[last].record}
|
||||
reason={slice.items[last].reason}
|
||||
feedContext={slice.items[last].feedContext}
|
||||
parentAuthor={slice.items[2].parentAuthor}
|
||||
parentAuthor={slice.items[last].parentAuthor}
|
||||
showReplyTo={false}
|
||||
moderation={slice.items[last].moderation}
|
||||
isThreadParent={isThreadParentAt(slice.items, last)}
|
||||
isThreadChild={isThreadChildAt(slice.items, last)}
|
||||
isParentBlocked={slice.items[2].isParentBlocked}
|
||||
isParentBlocked={slice.items[last].isParentBlocked}
|
||||
isThreadLastChild
|
||||
/>
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue