Merge pull request #19549 from ramonlsouza/timer-reset-on-update

fix: stop and reset timer when time is changed
This commit is contained in:
Ramón Souza 2024-02-02 09:12:30 -03:00 committed by GitHub
commit a2fe718799
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,6 +49,8 @@ const TimerContainer = ({ children, ...props }) => {
const setTime = (time) => {
timerSetTime({ variables: { time } });
timerStop();
timerReset();
};
const setHours = (hours, time) => {