Help with Pomodoro clock project

Hey, I have been stuck on this project for the past 3 days primarily because of 2 bugs.

  1. When the break timer is running, if i pause and resume , a totally new timer starts.
  2. I want to be able to run the session and break timer like 5 times before it finally ends.
    I would appreciate any help offered.[Here is the link to my ongoing project]

when the break timer is running, you’ve hidden the pause button. You only have a reset button. Which would, in fact, give you a totally new timer.

also, out of curiosity, why do you include the react library when you aren’t using react?