Merge pull request #242 from StefanScherer/revert-pr192

Revert "Update app.js"
This commit is contained in:
Stefan Scherer 2022-02-10 09:52:18 +01:00 committed by GitHub
commit 720eadbeae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ function TodoListCard() {
<React.Fragment>
<AddItemForm onNewItem={onNewItem} />
{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 => (
<ItemDisplay