Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
overnall committed Nov 2, 2024
1 parent ac25634 commit 17f8b4f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/Person/Person.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const Person = ({ person }) => (
<section className="Person">
<h2 className="Person__name">My name is {person.name}</h2>
{/* <p className="Person__age">{person.age > 0 ? `I am ${person.age}` : ''}</p> */}
{person.age > 0 ? <p className="Person__age">I am {person.age}</p> : ''}
<p className="Person__partner">
{person.isMarried === true
Expand Down

0 comments on commit 17f8b4f

Please sign in to comment.