diff --git a/packages/features.table/src/hooks/useInfiniteQuery.ts b/packages/features.table/src/hooks/useInfiniteQuery.ts index 054484e7..89e32a75 100644 --- a/packages/features.table/src/hooks/useInfiniteQuery.ts +++ b/packages/features.table/src/hooks/useInfiniteQuery.ts @@ -1,9 +1,9 @@ -import React, { RefObject } from 'react'; import { useInfiniteQuery as useTanStackInfiniteQuery } from '@tanstack/react-query'; -import { RolePaymentT } from 'features.table'; +import { UserRoleT, classroomPaymentsApiConfig, paymentsApiConfig } from 'common.api'; import { getAxiosInstance } from 'common.config'; -import { paymentsApiConfig, classroomPaymentsApiConfig, UserRoleT } from 'common.api'; import { getRolePaymentsQueryKey } from 'common.services'; +import { RolePaymentT } from 'features.table'; +import React, { RefObject } from 'react'; export const useInfiniteQuery = ( parentRef: RefObject, @@ -29,7 +29,7 @@ export const useInfiniteQuery = ( }, data: { cursor: pageParam ?? null, - limit: 12, + limit: 15, }, }); diff --git a/packages/pages.classrooms/src/hooks/useInfiniteQuery.ts b/packages/pages.classrooms/src/hooks/useInfiniteQuery.ts index e20e45a9..df97071d 100644 --- a/packages/pages.classrooms/src/hooks/useInfiniteQuery.ts +++ b/packages/pages.classrooms/src/hooks/useInfiniteQuery.ts @@ -28,7 +28,7 @@ export const useInfiniteQuery = (parentRef: RefObject) => method: classroomsApiConfig[ClassroomsQueryKey.GetClassrooms].method, url, params: { - limit: 20, + limit: 25, created_before: pageParam, }, headers: { diff --git a/packages/pages.classrooms/src/ui/components/grids/CardsGridTutor.tsx b/packages/pages.classrooms/src/ui/components/grids/CardsGridTutor.tsx index e882f720..25019b98 100644 --- a/packages/pages.classrooms/src/ui/components/grids/CardsGridTutor.tsx +++ b/packages/pages.classrooms/src/ui/components/grids/CardsGridTutor.tsx @@ -34,7 +34,7 @@ export const CardsGridTutor = () => { } return ( -
+
{items.map((classroom) => (