Skip to content

Commit

Permalink
console.log removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mgulener committed Oct 17, 2021
1 parent 66a4fde commit 0154665
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.js
Expand Up @@ -13,8 +13,6 @@ function TodoApp() {
setTodos((todos) => todos.concat({ text: input, id: id }) );
setInput('');
setId(id + 1);
console.log(id);
console.log(todos);
}

const removeTodo = (id) => setTodos((todos) => todos.filter((todo) => todo.id !== id))
Expand Down

0 comments on commit 0154665

Please sign in to comment.