Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vladislav-tsybuliak1 committed Dec 31, 2024
1 parent fa362f6 commit 5cca52d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Person/Person.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const Person = ({ person }) => (

<p className="Person__partner">
{person.isMarried ?
`${person.partner.name} is my
${person.partner.sex === 'f' ?
`${person.partnerName} is my
${person.sex === 'm' ?
"wife":
"husband"}` :
"I am not married"}
Expand Down

0 comments on commit 5cca52d

Please sign in to comment.