Skip to content

Commit

Permalink
Remove non-functional controls.
Browse files Browse the repository at this point in the history
  • Loading branch information
todd-skelton committed Feb 16, 2020
1 parent 8294726 commit 59bc70a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions react-todos/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function App() {
await fetch('/api/todos', {
method: "POST",
body: JSON.stringify({ name: newTodo })
})
});
setNewTodo("");
await getTodos();
}
Expand Down Expand Up @@ -47,8 +47,6 @@ function App() {
</form>
</header>
<section className="main" style={{ display: "block" }}>
<input className="toggle-all" id="toggle-all" type="checkbox" />
<label htmlFor="toggle-all">Mark all as complete</label>
<ul className="todo-list">
{todos.map(todo => {
return (
Expand Down

0 comments on commit 59bc70a

Please sign in to comment.