+
Game id changed
This commit is contained in:
@@ -5,6 +5,7 @@ import Header from './components/header'; // Make sure the import path is correc
|
||||
import Home from './pages/home';
|
||||
import Login from './pages/login';
|
||||
import Register from './pages/register';
|
||||
import JoinGame from './pages/joinGame';
|
||||
|
||||
function App() {
|
||||
const [isLoggedIn, setIsLoggedIn] = useState(false);
|
||||
@@ -39,6 +40,10 @@ function App() {
|
||||
showPopup('User registered successfully!');
|
||||
}} />}
|
||||
/>
|
||||
<Route
|
||||
path="joinGame"
|
||||
element={<JoinGame isLoggedIn={isLoggedIn} />}
|
||||
/>
|
||||
</Routes>
|
||||
</div>
|
||||
</Router>
|
||||
|
||||
Reference in New Issue
Block a user