Update components to display email instead of display_name

Replaced `display_name` with `email` in `WinnerBadge` and `WinnerCard` components. This ensures email addresses are shown consistently when rendering winner-related information.
This commit is contained in:
2026-02-06 13:22:23 +01:00
parent 59e224b4ca
commit fa89987f39
2 changed files with 2 additions and 2 deletions

View File

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