Skip to content

Task was solved#998

Open
ihor-soloviov wants to merge 1 commit into
mate-academy:masterfrom
ihor-soloviov:develop
Open

Task was solved#998
ihor-soloviov wants to merge 1 commit into
mate-academy:masterfrom
ihor-soloviov:develop

Conversation

@ihor-soloviov
Copy link
Copy Markdown

@alexandra-protyanova
Copy link
Copy Markdown

Снимок экрана 2023-01-26 в 11 42 28
I don't think it should look like that

Comment thread src/components/Person/Person.jsx Outdated
Comment on lines +18 to +32
<>
<section className="Person">
<h2 className="Person__name">
{`My name is ${name}`}
</h2>
<p className="Person__age">
{`I am ${age}`}
</p>
<p className="Person__partner">
{isMarried
? `${partnerName} is my ${partnerSex}`
: `I am not married`}
</p>
</section>
</>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<>
<section className="Person">
<h2 className="Person__name">
{`My name is ${name}`}
</h2>
<p className="Person__age">
{`I am ${age}`}
</p>
<p className="Person__partner">
{isMarried
? `${partnerName} is my ${partnerSex}`
: `I am not married`}
</p>
</section>
</>
<section className="Person">
<h2 className="Person__name">
{`My name is ${name}`}
</h2>
<p className="Person__age">
{`I am ${age}`}
</p>
<p className="Person__partner">
{isMarried
? `${partnerName} is my ${partnerSex}`
: `I am not married`}
</p>
</section>

Copy link
Copy Markdown

@alexandra-protyanova alexandra-protyanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GJ 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants