Skip to content

Commit

Permalink
en.json updated, debouncing is added all the requested changes are done
Browse files Browse the repository at this point in the history
  • Loading branch information
i0am0arunava committed Jan 9, 2025
1 parent 1afa00d commit a22eaa7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/pages/FacilityOrganization/FacilityOrganizationView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useQuery } from "@tanstack/react-query";
import { Link } from "raviger";
import { useState } from "react";
import { useTranslation } from "react-i18next";

import CareIcon from "@/CAREUI/icons/CareIcon";

import { Badge } from "@/components/ui/badge";
Expand Down Expand Up @@ -32,7 +33,7 @@ export default function FacilityOrganizationView({ id, facilityId }: Props) {
searchQuery,
500,
);
const {t}=useTranslation();
const { t } = useTranslation();
const { data: children, isLoading } = useQuery({
queryKey: [
"facilityOrganization",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Organization/OrganizationFacilities.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useQuery } from "@tanstack/react-query";
import { Link } from "raviger";
import { useTranslation } from "react-i18next";

import CareIcon from "@/CAREUI/icons/CareIcon";

Expand All @@ -18,7 +19,6 @@ import { BaseFacility } from "@/types/facility/facility";

import AddFacilitySheet from "./components/AddFacilitySheet";
import OrganizationLayout from "./components/OrganizationLayout";
import { useTranslation } from "react-i18next";

interface Props {
id: string;
Expand Down Expand Up @@ -150,7 +150,7 @@ export default function OrganizationFacilities({
href={`/facility/${facility.id}`}
className="text-sm text-primary hover:underline"
>
{t("view_facility")}
{t("view_facility")}
<Button
variant="ghost"
size="icon"
Expand Down
1 change: 1 addition & 0 deletions src/pages/Organization/OrganizationView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useQuery } from "@tanstack/react-query";
import { Link } from "raviger";
import { useState } from "react";
import { useTranslation } from "react-i18next";

import CareIcon from "@/CAREUI/icons/CareIcon";

import { Badge } from "@/components/ui/badge";
Expand Down

0 comments on commit a22eaa7

Please sign in to comment.