diff --git a/Part_1/unicafe/src/App.js b/Part_1/unicafe/src/App.js index 17803c4..ef7c229 100644 --- a/Part_1/unicafe/src/App.js +++ b/Part_1/unicafe/src/App.js @@ -26,12 +26,14 @@ const Stats = (props) => { return ( - - - - - - + + + + + + + +
) } @@ -42,17 +44,14 @@ const App = () => { const [bad, setBad] = useState(0) const handleGood = () => { - console.log('Good is clicked') setGood(good + 1) } const handleNeutral = () => { - console.log('Neutral is clicked') setNeutral(neutral + 1) } const handleBad = () => { - console.log('Bad is clicked') setBad(bad + 1) }