We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13f8872 commit c68bc2dCopy full SHA for c68bc2d
package/src/components/Poll/components/PollResults/PollVote.tsx
@@ -47,7 +47,7 @@ export const PollVote = ({ vote }: { vote: PollVoteClass }) => {
47
<Avatar image={vote.user.image as string} key={vote.id} size={20} />
48
) : null}
49
<Text style={[styles.voteUserName, { color: black }, userName]}>
50
- {isAnonymous ? t<string>('Anonymous') : vote.user?.name}
+ {isAnonymous ? t<string>('Anonymous') : vote.user?.name ?? vote.user?.id}
51
</Text>
52
</View>
53
<Text style={[styles.voteDate, { color: text_low_emphasis }, dateText]}>{dateString}</Text>
0 commit comments