Commit e6d1b7cd by jaymehta

paginationissue

1 parent 09af97a5
...@@ -48,7 +48,7 @@ const ListingItems = ({ allActivitiesData, loading, gridClass, totalCount }) => ...@@ -48,7 +48,7 @@ const ListingItems = ({ allActivitiesData, loading, gridClass, totalCount }) =>
console.log("page", page); console.log("page", page);
useEffect(() => { useEffect(() => {
dispatch(getActivitiesByFilters({ currentPage: page })); 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!