updated string when list is empty

This commit is contained in:
slaterj 2021-05-27 09:51:20 -05:00
parent d2b680e438
commit 8cbdbfa273

View File

@ -53,7 +53,7 @@ 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">You have no todo items yet! Add on above!</p>
)}
{items.map(item => (
<ItemDisplay