diff --git a/src/components/Activities/Regularization.jsx b/src/components/Activities/Regularization.jsx index 0a8f2dd3..a192f51b 100644 --- a/src/components/Activities/Regularization.jsx +++ b/src/components/Activities/Regularization.jsx @@ -44,7 +44,7 @@ const Regularization = ({ handleRequest }) => { const { currentPage, totalPages, currentItems, paginate } = usePagination( filteredData, - 10 + 20 ); useEffect(() => { eventBus.on("regularization", handler); @@ -67,8 +67,8 @@ const Regularization = ({ handleRequest }) => { return (
@@ -85,11 +85,11 @@ const Regularization = ({ handleRequest }) => { - {loading && ( + {/* {loading && ( - )} + )} */} {!loading && (regularizes?.length > 0 ? ( @@ -145,9 +145,9 @@ const Regularization = ({ handleRequest }) => { ))}
Loading...
- {!loading > 10 && ( + {!loading && totalPages > 1 && (