Skip to content

Commit

Permalink
fix leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Aug 22, 2023
1 parent b59e822 commit 28e8fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/leaderboard/[[mode]].vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const {
mode: selected.value.mode,
ruleset: selected.value.ruleset,
rankingSystem: selected.value.rankingSystem,
page: page.value - 1,
page: Math.max(page.value - 1, 0),
pageSize: perPage,
})
})
Expand Down

0 comments on commit 28e8fbe

Please sign in to comment.