From be57e47866aa356785d3734f472a620ae2d381cb Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Sat, 6 Aug 2022 10:43:55 -0500 Subject: [PATCH] header style on finish --- squarenotsquare/src/screens/Game.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/squarenotsquare/src/screens/Game.js b/squarenotsquare/src/screens/Game.js index 6ffe40d..8099f3f 100644 --- a/squarenotsquare/src/screens/Game.js +++ b/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); }