Fix email display in WinnerBadge component

Replaced the incorrect `me.display_name` with `winner.email` to ensure the correct email is shown when `showEmail` is true. This resolves the display issue for winner information.
This commit is contained in:
2026-02-06 13:36:51 +01:00
parent bdc6824e18
commit dc98eeb41c

View File

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