Commit c1404440 by jaymehta

paginationissue

1 parent e6d1b7cd
......@@ -40,15 +40,15 @@ const ListingItems = ({ allActivitiesData, loading, gridClass, totalCount }) =>
queryParams.append("page", pageNumber);
}
dispatch(getActivitiesByFilters({ currentPage: pageNumber }));
// dispatch(getActivitiesByFilters({ currentPage: pageNumber }));
router.replace({
search: queryParams.toString()
});
};
console.log("page", page);
useEffect(() => {
dispatch(getActivitiesByFilters({ currentPage: page }));
}, [])
// useEffect(() => {
// dispatch(getActivitiesByFilters({ currentPage: page }));
// }, [])
return (
<>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!