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

solution #1555

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

solution #1555

wants to merge 1 commit into from

Conversation

maxsabo
Copy link

@maxsabo maxsabo commented Dec 20, 2024

Copy link

@yuliiazubenko yuliiazubenko left a comment

Choose a reason for hiding this comment

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

Good job!

Copy link

@BudnikOleksii BudnikOleksii left a comment

Choose a reason for hiding this comment

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

Good work 👍

Comment on lines +32 to +35
todos.filter(todo => {
if (filterStatus === FilterStatus.All) {
return true;
}

Choose a reason for hiding this comment

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

You don't need to filter at all when filterStatus === FilterStatus.All

{todosLeft} items left
</span>

{/* Active link should have the 'selected' class */}

Choose a reason for hiding this comment

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

Remove all comments

const onBlur = async (event: React.FocusEvent<HTMLInputElement, Element> | React.FormEvent<HTMLFormElement>,
) => {
event.preventDefault();
const normalizedTitle = todoTitleValue.trim();

Choose a reason for hiding this comment

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

Expected indentation of 4 spaces but found 6

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