Currently, the winner banner displays the user's username. We want to improve the UI by showing the user's full name instead, while keeping the username as a fallback in case the name is not available.
Required Changes:
Navigate to:
result-dashboard.tsx
Go to line 116
Replace:
With:
winner.name || winner.username
Expected Behavior:
If winner.name exists → display the full name
If winner.name is missing/null → fallback to winner.username
Currently, the winner banner displays the user's username. We want to improve the UI by showing the user's full name instead, while keeping the username as a fallback in case the name is not available.
Required Changes:
Navigate to:
result-dashboard.tsx
Go to line 116
Replace:
With:
Expected Behavior:
If winner.name exists → display the full name
If winner.name is missing/null → fallback to winner.username