Skip to content

To do list hw#4 5#45

Open
Kateryna-Borysenko wants to merge 28 commits intoxzfantom:mainfrom
Kateryna-Borysenko:to-do-list_hw#4-5
Open

To do list hw#4 5#45
Kateryna-Borysenko wants to merge 28 commits intoxzfantom:mainfrom
Kateryna-Borysenko:to-do-list_hw#4-5

Conversation

@Kateryna-Borysenko
Copy link
Copy Markdown

Привет

@xzfantom
Copy link
Copy Markdown
Owner

xzfantom commented Aug 9, 2022

@poulkud

@Tay811
Copy link
Copy Markdown

Tay811 commented Aug 9, 2022

Круто. Сижу залипаю в код как такое делать))

@Kateryna-Borysenko
Copy link
Copy Markdown
Author

Kateryna-Borysenko commented Aug 10, 2022 via email

Comment thread src/components/App/App.js
<Route exact path='/'>
<AboutUsPage />
</Route>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

лишние пробелы

<button
className={sort === 'completed' ? s.active : s.button}
type='button'
onClick={() => setSort('completed')}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

можно вынести в отдельную функцию в которую можно передавать нужные аргументы

};
};

export default connect(mapStateToProps, mapDispatchToProps)(DisplayTodos);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

в целом ок, но мы говорили не используем connect

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

но это не критично, все ок

value={todo}
ref={inputRef}
/>
<button onClick={() => add()} className={s.todoButton}>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

onClick={add}

return (
<div className={s.wrap}>
<span className={s.todos}>
Active:{' '}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

тут можно s.numberTodos задать маржин нужный, такие пробелы лишние

Comment thread src/index.css
margin-top: 0;
margin-bottom: 0;
list-style: none;
} */
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

комменты удаляем

Copy link
Copy Markdown
Collaborator

@poulkud poulkud left a comment

Choose a reason for hiding this comment

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

поправить комменты и апрув

@Kateryna-Borysenko
Copy link
Copy Markdown
Author

Kateryna-Borysenko commented Aug 10, 2022 via email

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