diff --git a/src/components/Person/Person.jsx b/src/components/Person/Person.jsx index 8fdf55c4a..d77eaf87e 100644 --- a/src/components/Person/Person.jsx +++ b/src/components/Person/Person.jsx @@ -10,8 +10,8 @@ export const Person = ({ person }) => (
{person.isMarried ? - `${person.partner.name} is my - ${person.partner.sex === 'f' ? + `${person.partnerName} is my + ${person.sex === 'm' ? "wife": "husband"}` : "I am not married"}