Update Manager

This commit is contained in:
Ralex91
2024-02-01 11:02:28 +01:00
parent 0a075e564a
commit 6838f04828
8 changed files with 89 additions and 27 deletions

View File

@@ -2,7 +2,6 @@ import GameWrapper from "@/components/game/GameWrapper"
import Answers from "@/components/game/states/Answers"
import Leaderboard from "@/components/game/states/Leaderboard"
import Question from "@/components/game/states/Question"
import Result from "@/components/game/states/Result"
import Start from "@/components/game/states/Start"
import Wait from "@/components/game/states/Wait"
import { usePlayerContext } from "@/context/player"
@@ -15,7 +14,7 @@ const gameStateComponent = {
SELECT_ANSWER: Answers,
SHOW_QUESTION: Question,
WAIT: Wait,
SHOW_RESULT: Result,
SHOW_RESPONSES: Answers,
SHOW_LEADERBOARD: Leaderboard,
}