This commit is contained in:
SMUSADDIQH
2021-06-29 11:41:02 +00:00
committed by GitHub

View File

@@ -54,6 +54,7 @@ function TodoListCard() {
<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 one above!</p>
)}
{items.map(item => (
<ItemDisplay