Removed redundant readonly attribute from todo app example.

This commit is contained in:
Martin Sosic 2020-11-03 11:25:36 +01:00
parent e5b8f52728
commit 604dcc5700

View File

@ -49,7 +49,7 @@ const Task = (props) => {
<div>
<input
type='checkbox' id={props.task.id}
checked={props.task.isDone} readOnly
checked={props.task.isDone}
onChange={handleIsDoneChange}
/>
{props.task.description}