Skip to content

Commit

Permalink
add task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew77788 committed Feb 11, 2025
1 parent fe8e28b commit 37990ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Header: React.FC<Props> = ({
if (!todo) {
inputRef.current?.focus();
}
}, [todos]);
}, [todos, todo]);

return (
<header className="todoapp__header">
Expand Down

0 comments on commit 37990ec

Please sign in to comment.