diff --git a/webapp/src/components/Game/Game.tsx b/webapp/src/components/Game/Game.tsx index 7e45f9c..0142ce2 100644 --- a/webapp/src/components/Game/Game.tsx +++ b/webapp/src/components/Game/Game.tsx @@ -72,16 +72,11 @@ export default function Game(props: Props) { const handleNextQuestion = () => { if(count===0) saveAnswer(' '); - var q = questionCount; - if(questionCount < 9){ setTimeout(() => { - if(q === questionCount) goToNextQuestion(); }, 3000); - }else{ - goToNextQuestion(); - } + }; const saveAnswer = (answer: string) => { diff --git a/webapp/src/components/stats/StatsTable.tsx b/webapp/src/components/stats/StatsTable.tsx index 3da8411..5e906b0 100644 --- a/webapp/src/components/stats/StatsTable.tsx +++ b/webapp/src/components/stats/StatsTable.tsx @@ -38,19 +38,19 @@ export default function StatsTable() { - + Correct Answers {questionsCorrect} - + Wrong Answers {questionsAnswered - questionsCorrect} - + Gained chesses {chesses} - + Percentage Correct