Skip to content

Commit

Permalink
fix count
Browse files Browse the repository at this point in the history
  • Loading branch information
muzammil-85 committed Jan 11, 2025
1 parent 0401184 commit 7d6df30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/participant-list/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const ParticipantList: React.FC = () => {
const response = await fetch(`${apiURL}/uploads/all?page=${page}&limit=${itemsPerPage}`);
const data = await response.json();
setParticipants(data.Uploads);
setTotalCount(data.totalCount);
setTotalCount(112500 + data.totalCount);
setTotalPages(Math.ceil(data.totalCount / itemsPerPage));

}
Expand Down

0 comments on commit 7d6df30

Please sign in to comment.