diff options
Diffstat (limited to 'frontend/app/App.tsx')
| -rw-r--r-- | frontend/app/App.tsx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/frontend/app/App.tsx b/frontend/app/App.tsx index fcf6977..651de32 100644 --- a/frontend/app/App.tsx +++ b/frontend/app/App.tsx @@ -42,10 +42,12 @@ export default function App() { </ProtectedRoute> )} </Route> - <Route path="/tournament"> - <ProtectedRoute> - <TournamentPage /> - </ProtectedRoute> + <Route path="/tournament/:tournamentId"> + {(params) => ( + <ProtectedRoute> + <TournamentPage tournamentId={params.tournamentId} /> + </ProtectedRoute> + )} </Route> <Route> <div className="min-h-screen bg-gray-100 flex items-center justify-center"> |
