Skip to content

Commit

Permalink
corrected mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleh0293 committed Aug 22, 2023
1 parent 6f95746 commit 7cf8798
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Person/Person.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export const Person = ({ person }) => {
age,
sex,
isMarried,
partnerName } = person;
partnerName,
} = person;
const partner = sex === 'm'
? 'wife'
: 'husband';
Expand Down

0 comments on commit 7cf8798

Please sign in to comment.