Merge pull request #192 from aad84/patch-1

Update app.js
This commit is contained in:
Stefan Scherer 2022-02-10 09:28:26 +01:00 committed by GitHub
commit 2be5c745e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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">No items yet! Add one above!</p> <p className="text-center">You have no todo items yet! Add one above!</p>
)} )}
{items.map(item => ( {items.map(item => (
<ItemDisplay <ItemDisplay