diff options
| author | Wolfboy248 <121288977+Wolfboy248@users.noreply.github.com> | 2024-09-05 16:48:01 +0200 |
|---|---|---|
| committer | Wolfboy248 <121288977+Wolfboy248@users.noreply.github.com> | 2024-09-05 16:48:01 +0200 |
| commit | dea41ea59c558068078c98dd1758cdba2beceda8 (patch) | |
| tree | 15bd6a8a490bdceb66fa093d2b33c862da81b821 /frontend/src/App.tsx | |
| parent | refactor: fix summary cat change logic (diff) | |
| download | lphub-dea41ea59c558068078c98dd1758cdba2beceda8.tar.gz lphub-dea41ea59c558068078c98dd1758cdba2beceda8.tar.bz2 lphub-dea41ea59c558068078c98dd1758cdba2beceda8.zip | |
refactor: maplist page
Diffstat (limited to 'frontend/src/App.tsx')
| -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 | </> |