fixed wrong vote count

This commit is contained in:
u-e 2019-04-04 19:19:53 +03:00
parent 9a3b5b0399
commit 8949b03988

View File

@ -57,7 +57,7 @@ class CommentsView extends PureComponent {
handleOnUserPress={handleOnUserPress} handleOnUserPress={handleOnUserPress}
isLoggedIn={isLoggedIn} isLoggedIn={isLoggedIn}
isShowMoreButton={commentNumber === 1 && item.children > 0} isShowMoreButton={commentNumber === 1 && item.children > 0}
voteCount={item.vote_count} voteCount={item.net_votes}
isShowSubComments={isShowSubComments} isShowSubComments={isShowSubComments}
key={item.permlink} key={item.permlink}
marginLeft={marginLeft} marginLeft={marginLeft}