We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9347ce3 commit c68be4cCopy full SHA for c68be4c
ep11-switch-to-todo-part2/app/components/App.jsx
@@ -20,7 +20,7 @@ export default class App extends React.Component {
20
event.preventDefault();
21
22
var title = this.state.title;
23
- var newTodos = this.state.todos.concat(title);
+ var newTodos = this.state.todos.concat({ title: title, done: false });
24
25
this.setState({ title: '', todos: newTodos });
26
}
0 commit comments