to add to do list
This commit is contained in:
parent
13386236e4
commit
5cd6d4ab84
@ -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>
|
||||||
|
<p className="text-center">You have no todo items yet! Add one above!</p>
|
||||||
)}
|
)}
|
||||||
{items.map(item => (
|
{items.map(item => (
|
||||||
<ItemDisplay
|
<ItemDisplay
|
||||||
|
Loading…
Reference in New Issue
Block a user