This commit is contained in:
Ayush Anand 2024-03-13 16:26:53 +05:30 committed by GitHub
commit 7ba3f13216
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