diff options
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/App.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index b9e84f4..fdf1077 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx | |||
| @@ -10,7 +10,7 @@ import Games from './pages/Games'; | |||
| 10 | import Maps from './pages/Maps'; | 10 | import Maps from './pages/Maps'; |
| 11 | import User from './pages/User'; | 11 | import User from './pages/User'; |
| 12 | import Homepage from './pages/Homepage'; | 12 | import Homepage from './pages/Homepage'; |
| 13 | 13 | import Maplist from './pages/Maplist'; | |
| 14 | 14 | ||
| 15 | const App: React.FC = () => { | 15 | const App: React.FC = () => { |
| 16 | const [token, setToken] = React.useState<string | undefined>(undefined); | 16 | const [token, setToken] = React.useState<string | undefined>(undefined); |
| @@ -32,6 +32,7 @@ const App: React.FC = () => { | |||
| 32 | <Route path="/users/*" element={<User />} /> | 32 | <Route path="/users/*" element={<User />} /> |
| 33 | <Route path="/games" element={<Games />} /> | 33 | <Route path="/games" element={<Games />} /> |
| 34 | <Route path="/maps/*" element={<Maps isModerator={isModerator} />} /> | 34 | <Route path="/maps/*" element={<Maps isModerator={isModerator} />} /> |
| 35 | <Route path='/games/:id' element={<Maplist></Maplist>}></Route> | ||
| 35 | <Route path="*" element={"404"} /> | 36 | <Route path="*" element={"404"} /> |
| 36 | </Routes> | 37 | </Routes> |
| 37 | </> | 38 | </> |