Skip to content

Commit a5479b1

Browse files
authored
fix: increase leaderboard limit to 200
1 parent 3fbd22a commit a5479b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/roomkit-react/src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const useQuizSummary = (quizID: string) => {
2424
useEffect(() => {
2525
const fetchLeaderboardData = async () => {
2626
if (!quizLeaderboard && quiz && !quiz?.anonymous && quiz.state === 'stopped') {
27-
const leaderboardData = await hmsActions.interactivityCenter.fetchLeaderboard(quiz.id, 0, 50);
27+
const leaderboardData = await hmsActions.interactivityCenter.fetchLeaderboard(quiz.id, 0, 200);
2828

2929
const { maxPossibleScore, totalResponses } =
3030
quiz?.questions?.reduce((accumulator, question) => {

0 commit comments

Comments
 (0)