Skip to content

Commit

Permalink
fix leaderboard page size
Browse files Browse the repository at this point in the history
  • Loading branch information
starknetdev committed Oct 9, 2023
1 parent 743cfb8 commit 0fdd27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/components/leaderboard/LiveTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const LiveLeaderboardTable = ({
(currentPage - 1) * itemsPerPage,
currentPage * itemsPerPage
);
const totalPages = Math.ceil(adventurers.length / itemsPerPage);
const totalPages = Math.ceil(aliveAdventurers.length / itemsPerPage);

let previousXp = -1;
let currentRank = 0;
Expand Down

1 comment on commit 0fdd27f

@vercel
Copy link

@vercel vercel bot commented on 0fdd27f Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.