|
@ -88,6 +88,8 @@ function Game(props){ |
|
|
|
|
|
|
|
|
function completeChallenge(){ |
|
|
function completeChallenge(){ |
|
|
clearInterval(localTimer.current); |
|
|
clearInterval(localTimer.current); |
|
|
|
|
|
setHeaderColor(styles.darkGreen); |
|
|
|
|
|
setHeaderText((Date.now() - startTime.current) / (1000) + ' s'); |
|
|
setTimerState(4); |
|
|
setTimerState(4); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|