fix userlistitem bug created with community select on editor

This commit is contained in:
feruzm 2020-12-27 09:48:19 +02:00
parent f6a447e254
commit 2a911baa25
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ class LeaderboardView extends PureComponent {
isBlackRightColor
rightText={get(item, 'points')}
middleText={get(item, 'count')}
isLoggedIn
itemIndex={index + 1}
handleOnPress={() => handleOnUserPress(get(item, '_id'))}
rightTextStyle={styles.rewardText}

View File

@ -49,6 +49,7 @@ const VotersDisplayView = ({ votes, navigation }) => {
isHasRightItem
isRightColor={item.is_down_vote}
rightText={value}
isLoggedIn
handleOnPress={() => _handleOnUserPress(item.voter)}
isClickable
subRightText={percent}