diff options
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/App.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/App.js b/frontend/src/App.js index c1745a7..d75636f 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js | |||
| @@ -6,6 +6,7 @@ import Main from "./components/main.js" | |||
| 6 | import "./App.css"; | 6 | import "./App.css"; |
| 7 | 7 | ||
| 8 | import Summary from "./components/pages/summary.js" | 8 | import Summary from "./components/pages/summary.js" |
| 9 | import About from './components/pages/about.js'; | ||
| 9 | 10 | ||
| 10 | 11 | ||
| 11 | export default function App() { | 12 | export default function App() { |
| @@ -31,7 +32,7 @@ export default function App() { | |||
| 31 | <Route path="/scorelog" element={<Main text="Score logs"/>}></Route> | 32 | <Route path="/scorelog" element={<Main text="Score logs"/>}></Route> |
| 32 | <Route path="/profile" element={<Main text="Profile"/>}></Route> | 33 | <Route path="/profile" element={<Main text="Profile"/>}></Route> |
| 33 | <Route path="/rules" element={<Main text="Rules"/>}></Route> | 34 | <Route path="/rules" element={<Main text="Rules"/>}></Route> |
| 34 | <Route path="/about" element={<Main text="About"/>}></Route> | 35 | <Route path="/about" element={<About/>}></Route> |
| 35 | <Route path="/maps/*" element={<Summary token={token} mod={mod}/>}></Route> | 36 | <Route path="/maps/*" element={<Summary token={token} mod={mod}/>}></Route> |
| 36 | <Route path="*" element={<Main text="404 Page not found"/>}></Route> | 37 | <Route path="*" element={<Main text="404 Page not found"/>}></Route> |
| 37 | </Routes> | 38 | </Routes> |