Skip to content

Commit

Permalink
solution 2
Browse files Browse the repository at this point in the history
  • Loading branch information
denys2 committed Oct 29, 2023
1 parent 1740dff commit ebd59fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const App: React.FC = () => {

const filteredTodos = useMemo(() => {
return filterTodos(filter);
}, [filter, todos]);
}, [filter, filterTodos]);

return (
<div className="todoapp">
Expand Down

0 comments on commit ebd59fe

Please sign in to comment.