Update WinnerBadge to display displayName instead of email

Replaced `winner.email` with `winner.displayName` in the WinnerBadge component. This ensures a more user-friendly representation by showing the display name instead of the email.
This commit is contained in:
2026-02-06 12:29:07 +01:00
parent 2cdd4ae17e
commit 556a7a5d81

View File

@@ -49,7 +49,7 @@ export default function WinnerBadge({ winner, winnerEmail }) {
{showEmail && ( {showEmail && (
<div style={{ fontSize: 12, opacity: 0.8, color: stylesTokens.textDim }}> <div style={{ fontSize: 12, opacity: 0.8, color: stylesTokens.textDim }}>
{winner.email} {winner.displayName}
</div> </div>
)} )}
</div> </div>