Pomofocus clone built with React & Redux
Home Page:https://pomofocus-lite.vercel.app
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
jt6677 opened this issue 2 years ago · comments
// useCountdown.js
useEffect(() => { setTime(time); }, [time]);
If breaks.time === pomodoro.time, this count down won't reset. Just pass mode as a prop and use that instead.