Skip to content

Commit

Permalink
Fix prettier error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariel Virgulto committed Jan 10, 2024
1 parent e88cf5d commit 4bee3d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/views/Patient/PatientView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,12 @@ function PatientView(props: PatientViewProps) {
header: 'Full Name',
data: patientFullName
},
{ header: 'Gender', data: patient?.['gender'] ? patient.gender.charAt(0).toUpperCase() + patient.gender.slice(1) : '' },
{
header: 'Gender',
data: patient?.['gender']
? patient.gender.charAt(0).toUpperCase() + patient.gender.slice(1)
: ''
},
{ header: 'Date of Birth', data: birthday || '' },
{
header: 'Address',
Expand Down

0 comments on commit 4bee3d3

Please sign in to comment.