Fix missing metrics in post threads

zio/stable
Paul Frazee 2023-01-16 16:22:24 -06:00
parent 7f8f53b087
commit e5e31e5fe2
1 changed files with 3 additions and 0 deletions

View File

@ -307,6 +307,9 @@ export const PostThreadItem = observer(function PostThreadItem({
itemHref={itemHref} itemHref={itemHref}
itemTitle={itemTitle} itemTitle={itemTitle}
isAuthor={item.post.author.did === store.me.did} isAuthor={item.post.author.did === store.me.did}
replyCount={item.post.replyCount}
repostCount={item.post.repostCount}
upvoteCount={item.post.upvoteCount}
isReposted={!!item.post.viewer.repost} isReposted={!!item.post.viewer.repost}
isUpvoted={!!item.post.viewer.upvote} isUpvoted={!!item.post.viewer.upvote}
onPressReply={onPressReply} onPressReply={onPressReply}