diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-10-16 21:13:54 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-10-16 21:13:54 +0300 |
| commit | 92447e02e5fc3977c9cfbca7a8de4132cbb4f13b (patch) | |
| tree | 43a0ecda9c2eaeaf5af39df97ab4ad5083459c2b /frontend/src/App.tsx | |
| parent | refactor: upload run dialog (diff) | |
| download | lphub-92447e02e5fc3977c9cfbca7a8de4132cbb4f13b.tar.gz lphub-92447e02e5fc3977c9cfbca7a8de4132cbb4f13b.tar.bz2 lphub-92447e02e5fc3977c9cfbca7a8de4132cbb4f13b.zip | |
refactor: upload run logic improvement
Diffstat (limited to 'frontend/src/App.tsx')
| -rw-r--r-- | frontend/src/App.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 3a7fa18..c34cbcf 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx | |||
| @@ -75,7 +75,7 @@ const App: React.FC = () => { | |||
| 75 | 75 | ||
| 76 | return ( | 76 | return ( |
| 77 | <> | 77 | <> |
| 78 | <UploadRunDialog open={uploadRunDialog} onClose={() => setUploadRunDialog(false)} mapID={uploadRunDialogMapID} games={games} /> | 78 | <UploadRunDialog token={token} open={uploadRunDialog} onClose={() => setUploadRunDialog(false)} games={games} /> |
| 79 | <Sidebar setToken={setToken} profile={profile} setProfile={setProfile} onUploadRun={() => setUploadRunDialog(true)} /> | 79 | <Sidebar setToken={setToken} profile={profile} setProfile={setProfile} onUploadRun={() => setUploadRunDialog(true)} /> |
| 80 | <Routes> | 80 | <Routes> |
| 81 | <Route path="/" element={<Homepage />} /> | 81 | <Route path="/" element={<Homepage />} /> |