Commit 09af97a5 by jaymehta

paginationissue

1 parent a9e14ec7
...@@ -46,6 +46,9 @@ const ListingItems = ({ allActivitiesData, loading, gridClass, totalCount }) => ...@@ -46,6 +46,9 @@ const ListingItems = ({ allActivitiesData, loading, gridClass, totalCount }) =>
}); });
}; };
console.log("page", page); console.log("page", page);
useEffect(() => {
dispatch(getActivitiesByFilters({ currentPage: page }));
}, [page])
return ( return (
<> <>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!