Skip to content

Commit

Permalink
rename leaderboard and remove levels
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisinajar committed Feb 7, 2024
1 parent 8f77d9e commit 21fb8bf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/game/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export default function Home(): JSX.Element {
</Grid>
{leaderboardData?.leaderboard && (
<Grid item xs={12} sm={5} md={4}>
<Typography variant="h6">Top levels:</Typography>
<Typography variant="h6">Leaderboard</Typography>
<ul id="leaderboard-list">
{leaderboardData.leaderboard
.slice(0, 20)
Expand All @@ -200,8 +200,7 @@ export default function Home(): JSX.Element {
<b id={`leaderboard-list-${i}-name`}>
{entry.name}
</b>{" "}
{entry.level.toLocaleString()} (
{addSpaces(entry.class)})
({addSpaces(entry.class)})
</li>
))}
</ul>
Expand Down

0 comments on commit 21fb8bf

Please sign in to comment.