This commit is contained in:
Ayush Anand 2024-09-12 05:45:11 +00:00 committed by GitHub
commit 5b5e4d51c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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