Skip to content

Commit

Permalink
fix: wrong user name
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter committed Feb 2, 2024
1 parent 8491436 commit acf4627
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/modules/PublicSale/LuckyMoneyWinner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@ const LuckyMoneyWinner = () => {
</div>
<div>
<div className={s.textMessage}>
John just snatched a red packet successfully and got{' '}
<strong>{winner?.user.twitter_name || '---'}</strong> just snatched
a red packet successfully and got{' '}
<strong>{winner?.bvm_amount} BVM</strong>.
</div>
<div className={s.time}>
{winner?.updated_at ? dayjs(winner?.updated_at).fromNow() : '--:--'}
{winner?.updated_at
? dayjs(winner?.updated_at).fromNow(true)
: '--:--'}
</div>
</div>
</div>
Expand Down

0 comments on commit acf4627

Please sign in to comment.