From e58019ce0a6199a939b4bc0b6d98b984dfb70f78 Mon Sep 17 00:00:00 2001 From: Mykola Melnichuk Date: Sun, 23 Feb 2025 22:18:05 +0100 Subject: [PATCH] made solution --- src/components/TodoHeader.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/TodoHeader.tsx b/src/components/TodoHeader.tsx index 40f05c0c6..e515e575e 100644 --- a/src/components/TodoHeader.tsx +++ b/src/components/TodoHeader.tsx @@ -5,9 +5,8 @@ import { Todo } from '../type'; type TodoHeaderProps = {}; export const TodoHeader: React.FC = () => { - const { todos, setTodos } = useContext(TodoContext); + // const { todos, setTodos } = useContext(TodoContext); - console.log(todos) return (