From da6432a86b1d7782b66f04490f29132d1f0ab729 Mon Sep 17 00:00:00 2001 From: Francisco Pessano Date: Wed, 16 Feb 2022 14:18:15 -0300 Subject: [PATCH] Main Pomodoro Timer fixes --- .../Main Pomodoro Childrens/MainPomodoroTimer.jsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/components/Main Pomodoro Childrens/MainPomodoroTimer.jsx b/src/components/Main Pomodoro Childrens/MainPomodoroTimer.jsx index 9201a11..3202d56 100644 --- a/src/components/Main Pomodoro Childrens/MainPomodoroTimer.jsx +++ b/src/components/Main Pomodoro Childrens/MainPomodoroTimer.jsx @@ -302,15 +302,11 @@ const MainPomodoroTimer = (props) => { props.setLetsUpload(true) } - // setTimeout(() => { + setTimeout(() => { - // setPomodoroCounter('Pomodoros') - - // setRestCounter((restCounter + 1)) - - // setBreak(1, 0) - // setWeAreInBreakTime(true) - // }, 1) + setBreak(1, 0) + setWeAreInBreakTime(true) + }, 10) } if (restCounter === 3) {