App file modified for dropdown option

This commit is contained in:
Bhagwat Chate 2021-01-08 12:19:37 +05:30
parent 3de6451f5c
commit 645f4c55ef

View File

@ -53,7 +53,8 @@ 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">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