diff --git a/src/components/TodoApp/Todo.tsx b/src/components/TodoApp/Todo.tsx index 305ed6b..76bdc12 100644 --- a/src/components/TodoApp/Todo.tsx +++ b/src/components/TodoApp/Todo.tsx @@ -27,6 +27,8 @@ type TodoProps = { }; export const Todo = memo((props: TodoProps) => { + console.log(`Rendering ${JSON.stringify(props.todo)}`); + const { className, todo, onToggleTodo, onDeleteTodo, onUpdateTodoText } = props; const [text, setText] = useState(todo.text);