fix: remove hardcoded page size from useServerTable in multiple pages for consistency

This commit is contained in:
estifanos
2026-08-05 07:30:10 +00:00
parent e4e93384b1
commit 5fb6927d1a
5 changed files with 5 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ export function ResultPage() {
const { handleError } = useErrorHandler();
const { data: examRes } = useGetExamsQuery();
const { data, isFetching, isError, refetch } = useGetResultsQuery();
const { setPageIndex, pageSize, paginate } = useServerTable({ pageSize: 25 });
const { setPageIndex, pageSize, paginate } = useServerTable();
const [fetchDetail, { data: detailResult, isFetching: isDetailLoading }] = useLazyGetResultQuery();
const exams = examRes?.items ?? [];