Browse Source

header style on finish

pull/8/head
Tim Glasgow 2 years ago
parent
commit
be57e47866
  1. 2
      squarenotsquare/src/screens/Game.js

2
squarenotsquare/src/screens/Game.js

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

Loading…
Cancel
Save