app\src\static\app.js #56 "you have no todo items yet! Add one above"
This commit is contained in:
parent
1825b4c553
commit
a2e7cddbb1
@ -52,8 +52,8 @@ function TodoListCard() {
|
||||
return (
|
||||
<React.Fragment>
|
||||
<AddItemForm onNewItem={onNewItem} />
|
||||
{items.length === 0 && (
|
||||
<p className="text-center">No items yet! Add one above!</p>
|
||||
{items.length === 0 && (
|
||||
<p className="text-center">You have no todo items yet! Add one above!</p>
|
||||
)}
|
||||
{items.map(item => (
|
||||
<ItemDisplay
|
||||
|
Loading…
Reference in New Issue
Block a user