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

final version #1563

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

final version #1563

wants to merge 2 commits into from

Conversation

AsyaDev14
Copy link

Copy link

@Fridrif27 Fridrif27 left a comment

Choose a reason for hiding this comment

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

I approved but you need to sign up for Q&A to solve tests

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 +46 to +49
const allTodosCompleted = useMemo(
() => todoList.length === todosCompletedNum,
[todoList],
);

Choose a reason for hiding this comment

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

React Hook useMemo has a missing dependency: 'todosCompletedNum'. Either include it or remove the dependency array

Actually you don't need to use useMemo here as it's a primitive value

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