From 50bee00a9ab82b878a2781ebf2374aebacdcf974 Mon Sep 17 00:00:00 2001 From: Florent Date: Mon, 16 Oct 2023 16:47:27 +0200 Subject: [PATCH] feat: fetch 10 credits by page --- .../pages/Dashboard/MyEcocredits/hooks/useFetchEcocredits.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-marketplace/src/pages/Dashboard/MyEcocredits/hooks/useFetchEcocredits.ts b/web-marketplace/src/pages/Dashboard/MyEcocredits/hooks/useFetchEcocredits.ts index a000161bcf..586bbe8c05 100644 --- a/web-marketplace/src/pages/Dashboard/MyEcocredits/hooks/useFetchEcocredits.ts +++ b/web-marketplace/src/pages/Dashboard/MyEcocredits/hooks/useFetchEcocredits.ts @@ -41,7 +41,7 @@ export const useFetchEcocredits = ({ const [paginationParams, setPaginationParams] = useState({ page: 0, - rowsPerPage: DEFAULT_ROWS_PER_PAGE, + rowsPerPage: 10, offset: 0, }); const { page, rowsPerPage } = paginationParams;