This commit is contained in:
Bhagwat Chate 2021-06-29 16:30:52 -07:00 committed by GitHub
commit de919b3ec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

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