first message for js

This commit is contained in:
somasekharab 2023-04-08 10:16:10 +00:00
parent c7bbd0119f
commit 45a2c21661
1 changed files with 4 additions and 1 deletions

View File

@ -53,7 +53,10 @@ function TodoListCard() {
<React.Fragment>
<AddItemForm onNewItem={onNewItem} />
{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 => (
<ItemDisplay