mirror of
https://github.com/docker/getting-started-app.git
synced 2025-07-04 16:31:09 -04:00
Compare commits
3 Commits
dependabot
...
7ba3f13216
Author | SHA1 | Date | |
---|---|---|---|
7ba3f13216 | |||
f7429b47c0 | |||
b13a9f1409 |
@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"prettify": "prettier -l --write \"**/*.js\"",
|
"prettify": "prettier -l --write \"**/*.js\"",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"dev": "nodemon src/index.js"
|
"dev": "nodemon -L src/index.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
|
@ -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 todo items yet! Add one above!</p>
|
||||||
)}
|
)}
|
||||||
{items.map(item => (
|
{items.map(item => (
|
||||||
<ItemDisplay
|
<ItemDisplay
|
||||||
|
Reference in New Issue
Block a user