Skip to content

Commit

Permalink
updated to patient yob from backend
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Nov 29, 2024
1 parent c399be0 commit 50245d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Patient/PatientDetailsTab/Demography.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ export const Demography = (props: PatientProps) => {
</>
) : (
<>
{new Date().getFullYear() - patientAgeInYears(patientData)} (
{formatPatientAge(patientData, true)})
{patientData.year_of_birth} ({formatPatientAge(patientData, true)}
)
</>
),
},
Expand Down

0 comments on commit 50245d9

Please sign in to comment.