using a docker tutorial
This commit is contained in:
parent
d9f0c9ac45
commit
b395084357
@ -53,7 +53,7 @@ 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">You have no items to do yet! Add one above!</p>
|
||||||
)}
|
)}
|
||||||
{items.map(item => (
|
{items.map(item => (
|
||||||
<ItemDisplay
|
<ItemDisplay
|
||||||
@ -106,7 +106,7 @@ function AddItemForm({ onNewItem }) {
|
|||||||
disabled={!newItem.length}
|
disabled={!newItem.length}
|
||||||
className={submitting ? 'disabled' : ''}
|
className={submitting ? 'disabled' : ''}
|
||||||
>
|
>
|
||||||
{submitting ? 'Adding...' : 'Add Item'}
|
{submitting ? 'Adding...' : 'Add something'}
|
||||||
</Button>
|
</Button>
|
||||||
</InputGroup.Append>
|
</InputGroup.Append>
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
|
Loading…
Reference in New Issue
Block a user