Skip to content

Commit 7c07b48

Browse files
committed
Update Contest Leaderboard export to support all users
1 parent 2ea8cf0 commit 7c07b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/leaderboard/subcomponents/LeaderboardExportButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const LeaderboardExportButton: React.FC<Props> = ({ type, contest, contestID })
2525
? useTypedSelector(store => store.leaderboard.contestScore)
2626
: useTypedSelector(store => store.leaderboard.contestPopularVote);
2727

28-
const visibleEntries = useTypedSelector(store => store.session?.topContestLeaderboardDisplay ?? 10);
28+
const visibleEntries = Number.MAX_SAFE_INTEGER;
2929

3030
const onExportClick = () => {
3131
// Dispatch relevant request

0 commit comments

Comments
 (0)