Changes in UI

This commit is contained in:
Bhagwat Chate 2021-01-08 12:27:20 +05:30
parent 645f4c55ef
commit f47ee1aa26

View File

@ -54,6 +54,7 @@ function TodoListCard() {
<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">No items yet! Add one above!</p> */
// test
<p className="text-center">You have no todo 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 => (