Merge pull request #39 from ideskov/master

Avoid sending duplicate PUT requests when toggling completion
This commit is contained in:
Michael Irwin 2020-05-28 08:06:32 -04:00 committed by GitHub
commit 35dc319a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -152,7 +152,6 @@ function ItemDisplay({ item, onItemUpdate, onItemRemoval }) {
}
>
<i
onClick={toggleCompletion}
className={`far ${
item.completed ? 'fa-check-square' : 'fa-square'
}`}