Commit 65d3a6c3 authored by Sindre Sorhus's avatar Sindre Sorhus

Merge pull request #797 from danielstutzman/react-toggle-all-bug

React has broken toggle-all checkbox
parents 64ee2028 9386c868
......@@ -78,7 +78,7 @@
<input
className="toggle"
type="checkbox"
checked={this.props.todo.completed ? 'checked' : null}
checked={this.props.todo.completed}
onChange={this.props.onToggle}
/>
<label onDoubleClick={this.handleEdit}>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment