Skip to content

Commit 017a350

Browse files
committed
setIsRunning to true in handleExtraMilliSeconds
1 parent 8a36780 commit 017a350

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/useTimer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export default function useTimer(settings) {
5757
}
5858

5959
function handleExtraMilliSeconds(secondsValue, extraMilliSeconds) {
60+
setIsRunning(true);
6061
intervalRef.current = setTimeout(() => {
6162
intervalRef.current = undefined;
6263
setSeconds(Time.getSecondsFromExpiry(expiryTimestamp));

0 commit comments

Comments
 (0)