From d30405e5bac82064d15f0350c39fd365155fffd1 Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Wed, 10 Aug 2022 14:37:46 -0500 Subject: [PATCH] remove placeholder timer on high score screen --- squarenotsquare/src/screens/HighScore.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/squarenotsquare/src/screens/HighScore.js b/squarenotsquare/src/screens/HighScore.js index 1da0ceb..cf4ec72 100644 --- a/squarenotsquare/src/screens/HighScore.js +++ b/squarenotsquare/src/screens/HighScore.js @@ -20,9 +20,7 @@ function HighScore(){ if (!scoresLoaded) { loadScores() .then(() => { - setTimeout( () => { - setScoresLoaded(true); - }, 1000) + setScoresLoaded(true); }); } }, [scoresLoaded])