hi,i need your help,i have a problem with the play pause button,when i click the first time on it it works,but not for the second time it does not pause the timer,i need to know how to change the state of paused each time i click on the play,pause button,here is the app https://codepen.io/mehdij/pen/VEeJoP
Pomodoro clock React,issue with play pause button
Where are you currently trying to pause the timer in your code?
i am tryning to pause the timer in the play method, i am trying to use it for both playing and posing the timer since it’s the same button .
i finaly found a way to resolve the problem!