Skip to content

Commit

Permalink
remove ButtonV2 import
Browse files Browse the repository at this point in the history
  • Loading branch information
rajku-dev committed Dec 7, 2024
1 parent 9eed329 commit 27c9a40
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/components/Facility/FacilityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Chip from "@/CAREUI/display/Chip";
import CareIcon from "@/CAREUI/icons/CareIcon";

Check failure on line 8 in src/components/Facility/FacilityCard.tsx

View workflow job for this annotation

GitHub Actions / lint

Insert `on";⏎⏎import·{·Button·}·from·"@/components/ui/butt`

import { Avatar } from "@/components/Common/Avatar";
import ButtonV2, { Cancel, Submit } from "@/components/Common/ButtonV2";
import { Cancel, Submit } from "@/components/Common/ButtonV2";
import DialogModal from "@/components/Common/Dialog";
import { FacilityModel } from "@/components/Facility/models";
import TextAreaFormField from "@/components/Form/FormFields/TextAreaFormField";
Expand Down Expand Up @@ -113,19 +113,18 @@ export const FacilityCard = (props: {
</dt>
</div>
</div>
<ButtonV2
<Button
id="view-cns-button"
href={`/facility/${facility.id}/cns`}
border
ghost
onClick={() => navigate(`/facility/${facility.id}/cns`)}
variant={"outline_primary"}
className="mt-2 sm:mt-0"
>
<CareIcon
icon="l-monitor-heart-rate"
className="text-lg"
/>
<span>{t("view_cns")}</span>
</ButtonV2>
</Button>
</div>

<div className="mt-2 flex flex-wrap gap-1">
Expand Down

0 comments on commit 27c9a40

Please sign in to comment.