Revert "Update app.js"

This reverts commit 7bb2ef8c6d.
This commit is contained in:
Stefan Scherer 2022-02-10 09:36:44 +01:00
parent 2be5c745e8
commit 1bec479199
No known key found for this signature in database
GPG Key ID: A3CBE0C3D2861635

View File

@ -53,7 +53,7 @@ function TodoListCard() {
<React.Fragment> <React.Fragment>
<AddItemForm onNewItem={onNewItem} /> <AddItemForm onNewItem={onNewItem} />
{items.length === 0 && ( {items.length === 0 && (
<p className="text-center">You have no todo items yet! Add one above!</p> <p className="text-center">No items yet! Add one above!</p>
)} )}
{items.map(item => ( {items.map(item => (
<ItemDisplay <ItemDisplay