Skip to content

Commit

Permalink
changed to 15 limit
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Jan 16, 2025
1 parent 33eb111 commit c79b915
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Facility/FacilityUsers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import UserListAndCardView from "@/components/Users/UserListAndCard";

import useFilters from "@/hooks/useFilters";

import { RESULTS_PER_PAGE_LIMIT } from "@/common/constants";

import routes from "@/Utils/request/api";
import query from "@/Utils/request/query";

Expand Down Expand Up @@ -120,7 +118,7 @@ const UserListSkeleton = () => (
export default function FacilityUsers(props: { facilityId: string }) {
const { t } = useTranslation();
const { qParams, updateQuery, Pagination } = useFilters({
limit: RESULTS_PER_PAGE_LIMIT,
limit: 15,
cacheBlacklist: ["username"],
});
const [activeTab, setActiveTab] = useState<"card" | "list">("card");
Expand Down

0 comments on commit c79b915

Please sign in to comment.