Skip to content

Commit

Permalink
changing activities per page (25)
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaOlas committed Jan 26, 2024
1 parent 7585e6a commit 679780d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/activities/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const Activities = ({ activities, noButtons = false, withLinks = false, o
setPage(value);
window.scrollTo({ top: 0, behavior: 'smooth' });
};
const activitiesPerPage = 10;
const activitiesPerPage = 25;
const startIdx = (page - 1) * activitiesPerPage;
const endIdx = startIdx + activitiesPerPage;

Expand Down

0 comments on commit 679780d

Please sign in to comment.