Skip to content

Commit

Permalink
fixed the lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Dec 10, 2024
1 parent 27c9a40 commit 6033772
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/components/Facility/FacilityCard.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import careConfig from "@careConfig";
import { Link,navigate } 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";

import { Button } from "@/components/ui/button";

import { Avatar } from "@/components/Common/Avatar";
import { Cancel, Submit } from "@/components/Common/ButtonV2";
import DialogModal from "@/components/Common/Dialog";
Expand Down Expand Up @@ -231,9 +232,7 @@ export const FacilityCard = (props: {
role="button"
>
<CareIcon icon="l-megaphone" className="text-lg" />
<span className="hidden sm:inline">
{t("notify")}
</span>
<span className="hidden sm:inline">{t("notify")}</span>
<span className="tooltip-text tooltip-top sm:hidden">
{t("notify")}
</span>
Expand All @@ -256,14 +255,16 @@ export const FacilityCard = (props: {
</span>
</Button>
<Button
onClick={() => navigate(`/patients?facility=${facility.id}`)}
onClick={() =>
navigate(`/patients?facility=${facility.id}`)
}
id="facility-patients"
variant={"outline_primary"}
aria-label={t("view_patients")}
role="button"
>
<CareIcon icon="l-user-injured" className="text-lg" />
{t("view_patients")}
{t("view_patients")}
</Button>
{/* </div> */}
</div>
Expand Down

0 comments on commit 6033772

Please sign in to comment.