diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2025-07-24 14:40:22 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2025-07-24 14:40:22 +0300 |
| commit | b0d199936b546c75d4b19d99591237f0bf97fe55 (patch) | |
| tree | e9391880e7db2bd1ea8ff25d91aeea8dd98f186e /frontend/src/App.tsx | |
| parent | fix/frontend: fixed sidebar title size, removed unnecessary imports (diff) | |
| parent | feat/backend: add newrelic integration (#274) (diff) | |
| download | lphub-b0d199936b546c75d4b19d99591237f0bf97fe55.tar.gz lphub-b0d199936b546c75d4b19d99591237f0bf97fe55.tar.bz2 lphub-b0d199936b546c75d4b19d99591237f0bf97fe55.zip | |
Merge branch 'main' into css-overhaulcss-overhaul
Diffstat (limited to 'frontend/src/App.tsx')
| -rw-r--r-- | frontend/src/App.tsx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index e4bde75..bdd3adc 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | import React from 'react'; | 1 | import React 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 | 4 | ||
| 4 | import { UserProfile } from '@customTypes/Profile'; | 5 | import { UserProfile } from '@customTypes/Profile'; |
| 5 | import Sidebar from './components/Sidebar'; | 6 | import Sidebar from './components/Sidebar'; |
| @@ -66,14 +67,12 @@ const App: React.FC = () => { | |||
| 66 | _fetch_games(); | 67 | _fetch_games(); |
| 67 | }, []); | 68 | }, []); |
| 68 | 69 | ||
| 69 | if (!games) { | ||
| 70 | return ( | ||
| 71 | <></> | ||
| 72 | ) | ||
| 73 | }; | ||
| 74 | |||
| 75 | return ( | 70 | return ( |
| 76 | <> | 71 | <> |
| 72 | <Helmet> | ||
| 73 | <title>LPHUB</title> | ||
| 74 | <meta name="description" content="Least Portals Hub" /> | ||
| 75 | </Helmet> | ||
| 77 | <UploadRunDialog token={token} open={uploadRunDialog} onClose={(updateProfile) => { | 76 | <UploadRunDialog token={token} open={uploadRunDialog} onClose={(updateProfile) => { |
| 78 | setUploadRunDialog(false); | 77 | setUploadRunDialog(false); |
| 79 | if (updateProfile) { | 78 | if (updateProfile) { |