From 4e9fdddbc7ac990fb620d0c6f4e331966ac5f2a4 Mon Sep 17 00:00:00 2001 From: Savy Date: Wed, 5 Apr 2023 16:07:43 +0530 Subject: [PATCH] Removed console.logs & bug that cause console to complain in Part_1/unicafe --- Part_1/unicafe/src/App.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) 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) } -- 2.51.2