Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Nov 11, 2024
1 parent f786863 commit 6040bfd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function MedicineAdministrationTableRow({
key: `${prescription.last_administration?.administered_date}`,
},
);
const TableContent = () => (
const DosageFrequencyInfo = () => (
<div className="flex justify-center">
<div className="flex gap-1 text-xs font-semibold text-secondary-900 lg:flex-col lg:px-2 lg:text-center">
{prescription.dosage_type !== "TITRATED" ? (
Expand Down Expand Up @@ -236,12 +236,12 @@ export default function MedicineAdministrationTableRow({
</span>
</div>
<div className="block lg:hidden">
<TableContent />
<DosageFrequencyInfo />
</div>
</div>
</td>
<td className="hidden lg:table-cell">
<TableContent />
<DosageFrequencyInfo />
</td>

<td />
Expand Down

0 comments on commit 6040bfd

Please sign in to comment.