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

Enhancement 145 change reviews block according to fsd #177

Merged

Conversation

JuliaAvramenko
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@Segodnya Segodnya left a comment

Choose a reason for hiding this comment

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

Про закомментированные строки не оч понял. Что с ними?

src/pages/MainPage/MainPage.tsx Outdated Show resolved Hide resolved
@@ -1,11 +1,12 @@
import { FC } from 'react'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
import { FC } from 'react'
import { type FC } from 'react'

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

а почему такой синтаксис? в чем разница между просто FC и type FC (я такого не видела, поэтому спрашиваю)

@@ -30,7 +31,7 @@ const ReviewsBlock: FC<Props> = props => {
<article className={styles.header}>
<Heading type={HeadingType.NORMAL}>
{title}
<img src={IconHand} alt=""></img>
<img src={IconHand} alt="иконка"></img>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
<img src={IconHand} alt="иконка"></img>
<img src={IconHand} alt="иконка" />

Copy link
Collaborator

@aimenin aimenin left a comment

Choose a reason for hiding this comment

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

Вроде все отлично, только разберись с комментариями

src/pages/MainPage/MainPage.tsx Outdated Show resolved Hide resolved
@aimenin
Copy link
Collaborator

aimenin commented Jan 9, 2024

Добавить storybook для компонентов

@JuliaAvramenko JuliaAvramenko merged commit de27647 into master Jan 10, 2024
1 check passed
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