first message for js
This commit is contained in:
parent
c7bbd0119f
commit
45a2c21661
|
@ -53,7 +53,10 @@ 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
|
||||||
|
|
Loading…
Reference in New Issue