update getting-started
This commit is contained in:
parent
4b6b5476c5
commit
e4de538cd9
1015
.vs/getting-started/config/applicationhost.config
Normal file
1015
.vs/getting-started/config/applicationhost.config
Normal file
File diff suppressed because it is too large
Load Diff
BIN
.vs/getting-started/v16/.suo
Normal file
BIN
.vs/getting-started/v16/.suo
Normal file
Binary file not shown.
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
5
app/Dockerfile
Normal file
5
app/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM node:12-alpine
|
||||||
|
WORKDIR /app
|
||||||
|
COPY . .
|
||||||
|
RUN yarn install --production
|
||||||
|
CMD ["node", "/app/src/index.js"]
|
@ -53,8 +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 todo items yet! Add one above!</p> )}
|
||||||
)}
|
|
||||||
{items.map(item => (
|
{items.map(item => (
|
||||||
<ItemDisplay
|
<ItemDisplay
|
||||||
item={item}
|
item={item}
|
||||||
|
Loading…
Reference in New Issue
Block a user