Skip to content

Commit

Permalink
reverted space fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jul 4, 2024
1 parent ba72c03 commit a810557
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Patient/ManagePatients.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ export const PatientManager = () => {
<div className="flex w-full flex-col gap-2 pl-2 md:block md:flex-row">
<div className="flex w-full items-center justify-between gap-2">
<div
className="flex flex-wrap items-center gap-3 font-semibold"
className="flex flex-wrap items-end gap-3 font-semibold"
id="patient-name-list"
>
<span className="text-xl capitalize">{patient.name}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/Utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export const formatPatientAge = (obj: PatientModel, abbreviated = false) => {

const years = end.diff(start, "years");
if (years) {
return `${years} ${suffixes.year}`;
return `${years}${suffixes.year}`;
}

// Skip representing as no. of months/days if we don't know the date of birth
Expand Down

0 comments on commit a810557

Please sign in to comment.