update getting-started
This commit is contained in:
parent
4b6b5476c5
commit
e4de538cd9
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -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>
|
||||
<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
|
||||
item={item}
|
||||
|
|
Loading…
Reference in New Issue