diff options
| author | FifthWit <fifthwitbusiness@gmail.com> | 2025-01-30 13:11:48 -0600 |
|---|---|---|
| committer | FifthWit <fifthwitbusiness@gmail.com> | 2025-01-30 13:11:48 -0600 |
| commit | 81342e2579165ebfdb28c749dc5225141721a419 (patch) | |
| tree | 8e5759c20b92408048fe5ac44f48e2df2a00ab9b /frontend/src/App.tsx | |
| parent | fixed issues with useCallback (diff) | |
| download | lphub-81342e2579165ebfdb28c749dc5225141721a419.tar.gz lphub-81342e2579165ebfdb28c749dc5225141721a419.tar.bz2 lphub-81342e2579165ebfdb28c749dc5225141721a419.zip | |
switched to double quotes
Diffstat (limited to 'frontend/src/App.tsx')
| -rw-r--r-- | frontend/src/App.tsx | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 4a99625..fbfa59f 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx | |||
| @@ -1,24 +1,24 @@ | |||
| 1 | import React, { useCallback } from 'react'; | 1 | import React, { useCallback } from "react"; |
| 2 | import { Routes, Route } from 'react-router-dom'; | 2 | import { Routes, Route } from "react-router-dom"; |
| 3 | import { Helmet } from 'react-helmet'; | 3 | import { Helmet } from "react-helmet"; |
| 4 | 4 | ||
| 5 | import { UserProfile } from '@customTypes/Profile'; | 5 | import { UserProfile } from "@customTypes/Profile"; |
| 6 | import Sidebar from './components/Sidebar'; | 6 | import Sidebar from "./components/Sidebar"; |
| 7 | import './App.css'; | 7 | import "./App.css"; |
| 8 | 8 | ||
| 9 | import Profile from '@pages/Profile'; | 9 | import Profile from "@pages/Profile"; |
| 10 | import Games from '@pages/Games'; | 10 | import Games from "@pages/Games"; |
| 11 | import Maps from '@pages/Maps'; | 11 | import Maps from "@pages/Maps"; |
| 12 | import User from '@pages/User'; | 12 | import User from "@pages/User"; |
| 13 | import Homepage from '@pages/Homepage'; | 13 | import Homepage from "@pages/Homepage"; |
| 14 | import UploadRunDialog from './components/UploadRunDialog'; | 14 | import UploadRunDialog from "./components/UploadRunDialog"; |
| 15 | import Rules from '@pages/Rules'; | 15 | import Rules from "@pages/Rules"; |
| 16 | import About from '@pages/About'; | 16 | import About from "@pages/About"; |
| 17 | import { Game } from '@customTypes/Game'; | 17 | import { Game } from "@customTypes/Game"; |
| 18 | import { API } from './api/Api'; | 18 | import { API } from "./api/Api"; |
| 19 | import Maplist from '@pages/Maplist'; | 19 | import Maplist from "@pages/Maplist"; |
| 20 | import Rankings from '@pages/Rankings'; | 20 | import Rankings from "@pages/Rankings"; |
| 21 | import { get_user_id_from_token, get_user_mod_from_token } from './utils/Jwt'; | 21 | import { get_user_id_from_token, get_user_mod_from_token } from "./utils/Jwt"; |
| 22 | 22 | ||
| 23 | const App: React.FC = () => { | 23 | const App: React.FC = () => { |
| 24 | const [token, setToken] = React.useState<string | undefined>(undefined); | 24 | const [token, setToken] = React.useState<string | undefined>(undefined); |
| @@ -119,7 +119,7 @@ const App: React.FC = () => { | |||
| 119 | <Route path="/rules" element={<Rules />} /> | 119 | <Route path="/rules" element={<Rules />} /> |
| 120 | <Route path="/about" element={<About />} /> | 120 | <Route path="/about" element={<About />} /> |
| 121 | <Route path="/rankings" element={<Rankings />}></Route> | 121 | <Route path="/rankings" element={<Rankings />}></Route> |
| 122 | <Route path="*" element={'404'} /> | 122 | <Route path="*" element={"404"} /> |
| 123 | </Routes> | 123 | </Routes> |
| 124 | </> | 124 | </> |
| 125 | ); | 125 | ); |