From 9124afd462365a73abe5652ecf78c3e586520eea Mon Sep 17 00:00:00 2001 From: Josenaldo de Oliveira Matos Filho Date: Wed, 26 Oct 2022 18:45:39 -0300 Subject: [PATCH] Corrections in App declaration --- part1/README.md | 3 +++ part1/unicafe/src/App.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/part1/README.md b/part1/README.md index 439f515..c0b715b 100644 --- a/part1/README.md +++ b/part1/README.md @@ -14,3 +14,6 @@ - 1.9 - - 1.10 - - 1.11 - + +- Anecdotes + - 1.12 - < diff --git a/part1/unicafe/src/App.js b/part1/unicafe/src/App.js index 9d9224c..afe2d58 100644 --- a/part1/unicafe/src/App.js +++ b/part1/unicafe/src/App.js @@ -52,7 +52,7 @@ const Statistics = ({ good, neutral, bad }) => { ) } -function App() { +const App = () => { const [good, setGood] = useState(0) const [neutral, setNeutral] = useState(0) const [bad, setBad] = useState(0)