Skip to content

this sets the checked to true on completed items#4

Open
reinbeumer wants to merge 3 commits intobradtraversy:masterfrom
reinbeumer:some-esthetic-adjustments
Open

this sets the checked to true on completed items#4
reinbeumer wants to merge 3 commits intobradtraversy:masterfrom
reinbeumer:some-esthetic-adjustments

Conversation

@reinbeumer
Copy link
Copy Markdown
Contributor

When pulling items from https://jsonplaceholder.typicode.com/todos, the completed items wil be decorated with a strike trough, but not checked.
By adding completed in the render of the TodoItems.js and setting checked={completed}, the checkbox is set on completed items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant