+ Profil
Added Profile Updated Backend
This commit is contained in:
@@ -8,6 +8,7 @@ import Login from './pages/login';
|
||||
import Register from './pages/register';
|
||||
import JoinGame from './pages/joinGame';
|
||||
import StartGame from './pages/startGame';
|
||||
import Profile from './pages/profile';
|
||||
import { UserProvider } from './context/UserContext.jsx';
|
||||
|
||||
function App() {
|
||||
@@ -47,13 +48,17 @@ function App() {
|
||||
}} />}
|
||||
/>
|
||||
<Route
|
||||
path="joinGame"
|
||||
path="/joinGame"
|
||||
element={<JoinGame isLoggedIn={isLoggedIn} />}
|
||||
/>
|
||||
<Route
|
||||
path="/startGame"
|
||||
element={<StartGame isLoggedIn={isLoggedIn} />}
|
||||
/>
|
||||
<Route
|
||||
path="/profile"
|
||||
element={<Profile isLoggedIn={isLoggedIn} />}
|
||||
/>
|
||||
</Routes>
|
||||
</div>
|
||||
</Router>
|
||||
|
||||
Reference in New Issue
Block a user