Skip to content

Commit

Permalink
fix name display
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen authored and Amy Chen committed Mar 6, 2024
1 parent 34045fe commit 72d3c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default class Header extends Component {
<div className="flex" style={{alignItems: "flex-start"}}>
<FontAwesomeIcon className="patient-icon" icon="user-circle" title="patient" />
<div>
<h1 className="patient-name">{patientName}</h1>
<h1 className="patient-name">{patientName??"Name not available"}</h1>
<div className="patient-demographics">
<span className="patient-dob" aria-label="Date of birth">DOB: {patientDOB}</span>
<span className="patient-gender">{patientGender}</span>
Expand Down

0 comments on commit 72d3c0b

Please sign in to comment.