Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #1590

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Develop #1590

wants to merge 3 commits into from

Conversation

AV1788
Copy link

@AV1788 AV1788 commented Aug 21, 2023

Copy link

@anastasiia-tilikina anastasiia-tilikina left a comment

Choose a reason for hiding this comment

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

GJ
Let's just fix some code style issues

src/App.jsx Outdated
Comment on lines 30 to 32
<Person
person={misha}
/>

Choose a reason for hiding this comment

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

Suggested change
<Person
person={misha}
/>
<Personperson={misha} />

Comment on lines 14 to 16
{person.isMarried === true ? (
newVariable
) : (`I am not married`)}

Choose a reason for hiding this comment

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

Suggested change
{person.isMarried === true ? (
newVariable
) : (`I am not married`)}
{person.isMarried
? newVariable
: `I am not married`
}

@@ -1 +1,20 @@
// export const Person = ({ person }) => ();
export const Person = ({ person }) => {
const newVariable = person.sex === 'm' ? (

Choose a reason for hiding this comment

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

It is not a mistake but in the future try to use more descriptive vars names. for instance, here it could be partnersInfo or something. It is a good practice

Copy link

@lerastarynets lerastarynets left a comment

Choose a reason for hiding this comment

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

You're doing amazing, keep it up!

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.

3 participants