From 08fdad49891a8be2b94c61285b9c583f5436d613 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Fri, 9 Jun 2023 03:02:27 +0200 Subject: [PATCH] Integrated the Game state into the App.jsx --- webui/src/App.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webui/src/App.jsx b/webui/src/App.jsx index 57c11f2..70f2300 100644 --- a/webui/src/App.jsx +++ b/webui/src/App.jsx @@ -2,6 +2,7 @@ import Home from "./pages/Home"; import {useContext} from "react"; import {StateContext} from "@/common/contexts/StateContext"; import GameCreation from "@/pages/GameCreation"; +import Game from "@/pages/Game"; const App = () => { const {currentState} = useContext(StateContext); @@ -10,6 +11,7 @@ const App = () => { <> {currentState === "Home" && } {currentState === "GameCreation" && } + {currentState === "Game" && } ) }