Skip to content

Commit

Permalink
fix unnecessary decimal places
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr committed Feb 9, 2024
1 parent 768ff53 commit b14c87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/views/LeaderboardView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const LeaderboardView = () => {
{index === 1 && "🥈"}
{index === 2 && "🥉"}
</div>
<div>{Math.max(item.score, 0)}</div>
<div>{Math.max(Math.round(item.score ?? 0), 0)}</div>
</div>
</td>
</tr>
Expand Down

0 comments on commit b14c87d

Please sign in to comment.