using a docker tutorial

This commit is contained in:
AleixBaez 2022-12-25 18:19:10 +01:00
parent d9f0c9ac45
commit b395084357

View File

@ -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>