Skip to content

Commit

Permalink
Remove the limit from fetching coaches on the coaches page as some us…
Browse files Browse the repository at this point in the history
…ers coach around 75 poeple.
  • Loading branch information
dr-bizz committed Jan 15, 2025
1 parent 930828a commit 5377bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/Coaching/CoachingList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const CoachingLoading = styled(Skeleton)(() => ({
export const CoachingList: React.FC<CoachingListProps> = ({
accountListId,
}) => {
// This needs to become a infinite scroll query
const { data, loading } = useLoadCoachingListQuery();
const { t } = useTranslation();

Expand Down
2 changes: 1 addition & 1 deletion src/components/Coaching/LoadCoachingList.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
query LoadCoachingList {
coachingAccountLists(first: 25) {
coachingAccountLists(first: 100) {
nodes {
...CoachedPerson
}
Expand Down

0 comments on commit 5377bb6

Please sign in to comment.