From 60f02ee9d1a367bd3916884f4090912468cebb82 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Fri, 25 Oct 2024 18:17:31 +0500 Subject: [PATCH] Fixed the pagination at bed management page (#8928) --- src/components/Facility/BedManagement.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Facility/BedManagement.tsx b/src/components/Facility/BedManagement.tsx index 810a06e9c26..d7b47d89cce 100644 --- a/src/components/Facility/BedManagement.tsx +++ b/src/components/Facility/BedManagement.tsx @@ -164,7 +164,7 @@ const BedCard = ({ export const BedManagement = (props: BedManagementProps) => { const { facilityId, locationId } = props; - const { qParams, resultsPerPage } = useFilters({}); + const { qParams, resultsPerPage } = useFilters({ limit: 16 }); const { t } = useTranslation(); const { data: location } = useQuery(routes.getFacilityAssetLocation, { @@ -178,10 +178,10 @@ export const BedManagement = (props: BedManagementProps) => {