Skip to content

Commit

Permalink
Fixed small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
noreading authored Nov 22, 2018
1 parent 2b26d98 commit 8233c1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ class ToDoItem extends React.Component {
<div className="custom-control custom-checkbox">
<input
className="custom-control-input"
defaultValue={todo.uuid}
value={todo.uuid}
id={`todo-done-${todo.uuid}`}
type="checkbox"
checked={todo.done}
Expand All @@ -1574,7 +1574,7 @@ class ToDoItem extends React.Component {
<input
type="text"
className="form-control"
defaultValue={todo.text}
value={todo.text}
onChange={e => {
this.props.updateToDoText(todo.uuid, e.target.value);
}}
Expand Down Expand Up @@ -2568,7 +2568,7 @@ class ToDoItem extends React.Component {
<div className="custom-control custom-checkbox">
<input
className="custom-control-input"
defaultValue={todo.uuid}
value={todo.uuid}
id={`todo-done-${todo.uuid}`}
type="checkbox"
checked={todo.done}
Expand All @@ -2588,7 +2588,7 @@ class ToDoItem extends React.Component {
<input
type="text"
className="form-control"
defaultValue={todo.text}
value={todo.text}
onChange={e => {
this.props.updateToDoText(todo.uuid, e.target.value);
}}
Expand Down

0 comments on commit 8233c1e

Please sign in to comment.