Add crown to pinball champ

This commit is contained in:
Tanner Collin 2023-01-24 03:43:25 +00:00
parent 5f302a0de7
commit 0e629151ba

View File

@ -114,7 +114,7 @@ export function DisplayScores(props) {
{scores && scores.map((x, i) =>
<div key={i}>
<Header size='medium'>#{i+1} {x.name}.</Header>
<Header size='medium'>#{i+1} {x.name}. {i === 0 ? '👑' : ''}</Header>
<p>{x.score.toLocaleString()}</p>
</div>
)}