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