Skip to content

Commit

Permalink
fixed the pagination count
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Oct 29, 2024
1 parent a4f37c7 commit a30e51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Facility/FacilityStaffList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import Pagination from "../Common/Pagination";
export const FacilityStaffList = (props: any) => {
const { t } = useTranslation();
const [doctorCapacityModalOpen, setDoctorCapacityModalOpen] = useState(false);
const { qParams, resultsPerPage, updatePage } = useFilters({});
const { qParams, resultsPerPage, updatePage } = useFilters({ limit: 15 });
const [totalDoctors, setTotalDoctors] = useState(0);

const { data: doctorsList, refetch } = useQuery(routes.listDoctor, {
Expand Down

0 comments on commit a30e51d

Please sign in to comment.