app\src\static\app.js #56 "you have no todo items yet! Add one above"

This commit is contained in:
MaolinPan 2021-06-10 21:32:07 +08:00
parent 1825b4c553
commit a2e7cddbb1

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 one above!</p>
)}
{items.map(item => (
<ItemDisplay