diff --git a/pwa/src/templates/landing/LandingTemplate.tsx b/pwa/src/templates/landing/LandingTemplate.tsx index f7b1ac3c..01a3d29f 100644 --- a/pwa/src/templates/landing/LandingTemplate.tsx +++ b/pwa/src/templates/landing/LandingTemplate.tsx @@ -23,6 +23,10 @@ export const LandingTemplate: React.FC = () => { const queryClient = new QueryClient(); const getItems = useOpenWoo(queryClient).getAll(filters, currentPage, queryLimit.objectsQueryLimit); + React.useEffect(() => { + setCurrentPage(1); + }, [queryLimit.objectsQueryLimit]); + return ( <>