diff --git a/public/locale/en.json b/public/locale/en.json index c3979b9c849..6fe9f9a7e95 100644 --- a/public/locale/en.json +++ b/public/locale/en.json @@ -1421,7 +1421,7 @@ "view_cns": "View CNS", "view_consultation_and_log_updates": "View Consultation / Log Updates", "view_details": "View Details", - "view_faciliy": "View Facility", + "view_facility": "View Facility", "view_files": "View Files", "view_patients": "View Patients", "view_update_patient_files": "View/Update patient files", diff --git a/src/components/Facility/FacilityCard.tsx b/src/components/Facility/FacilityCard.tsx index 292547ab0e3..6b6875d6f6f 100644 --- a/src/components/Facility/FacilityCard.tsx +++ b/src/components/Facility/FacilityCard.tsx @@ -1,7 +1,8 @@ import careConfig from "@careConfig"; -import { Link } from "raviger"; +import { Link,navigate } from "raviger"; import { useState } from "react"; import { useTranslation } from "react-i18next"; +import { Button } from "@/components/ui/button"; import Chip from "@/CAREUI/display/Chip"; import CareIcon from "@/CAREUI/icons/CareIcon"; @@ -222,44 +223,47 @@ export const FacilityCard = (props: {