diff options
| author | Wolfboy248 <121288977+Wolfboy248@users.noreply.github.com> | 2024-09-06 13:05:39 +0200 |
|---|---|---|
| committer | Wolfboy248 <121288977+Wolfboy248@users.noreply.github.com> | 2024-09-06 13:05:39 +0200 |
| commit | edff87fdf77b32fd03ee26892226068a53fbfaa6 (patch) | |
| tree | de6ed2b1acf0c39421983bebe9737e8a615a950d /frontend/src/App.tsx | |
| parent | refactor: maplist page (diff) | |
| download | lphub-edff87fdf77b32fd03ee26892226068a53fbfaa6.tar.gz lphub-edff87fdf77b32fd03ee26892226068a53fbfaa6.tar.bz2 lphub-edff87fdf77b32fd03ee26892226068a53fbfaa6.zip | |
refactor: rankings page
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 | </> |