diff --git a/react/todo-app/src/App.js b/react/todo-app/src/App.js index b21f2664..038d3136 100644 --- a/react/todo-app/src/App.js +++ b/react/todo-app/src/App.js @@ -41,11 +41,16 @@ const App = () => { setValue(""); }; + const handleRemoveClick = () => { + setTodoData([]); + }; + return (