Skip to content

Commit

Permalink
fixed eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nithish1018 committed Nov 30, 2024
1 parent 48a604f commit 37cfc0e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/components/Shifting/ShiftDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -492,13 +492,20 @@ export default function ShiftDetails(props: { id: string }) {
: ""
}
tooltipClassName="tooltip-top -translate-x-28 -translate-y-1 text-xs"
disabled={data?.status === "COMPLETED" || data?.status === "CANCELLED"}
onClick={() => navigate(`/shifting/${data?.external_id}/update`)}
disabled={
data?.status === "COMPLETED" || data?.status === "CANCELLED"
}
onClick={() =>
navigate(`/shifting/${data?.external_id}/update`)
}
>
{t("update_status_details")}
</ButtonV2>

<ButtonV2 className="w-full sm:w-auto" onClick={() => setIsPrintMode(true)}>
<ButtonV2
className="w-full sm:w-auto"
onClick={() => setIsPrintMode(true)}
>
<CareIcon icon="l-file-alt" className="mr-2 text-base" />{" "}
{t("referral_letter")}
</ButtonV2>
Expand Down

0 comments on commit 37cfc0e

Please sign in to comment.