Skip to content

Commit

Permalink
fixed linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Mar 19, 2024
1 parent f324144 commit eb8d4ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Components/Medicine/PrescriptionDetailCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ export default function PrescriptionDetailCard({
>
{prescription.medicine_object?.name ?? prescription.medicine_old}
</Detail>
<Detail className="col-span-10 break-all sm:col-span-4" label={t("route")}>
<Detail
className="col-span-10 break-all sm:col-span-4"
label={t("route")}
>
{prescription.route &&
t("PRESCRIPTION_ROUTE_" + prescription.route)}
</Detail>
Expand Down

0 comments on commit eb8d4ad

Please sign in to comment.