redesign leaderboard scores
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 45s
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m9s

This commit is contained in:
Lee
2024-10-19 14:11:43 +01:00
parent caf5f01a09
commit 16c34adc19
14 changed files with 152 additions and 238 deletions

View File

@ -123,5 +123,11 @@ export default async function LeaderboardPage(props: Props) {
if (response == undefined) {
return redirect("/");
}
return <LeaderboardData initialLeaderboard={response.leaderboardResponse} initialScores={response.scores} />;
return (
<LeaderboardData
initialLeaderboard={response.leaderboardResponse}
initialScores={response.scores}
initialPage={response.page}
/>
);
}