diff options
Diffstat (limited to 'frontend/app/App.tsx')
| -rw-r--r-- | frontend/app/App.tsx | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/frontend/app/App.tsx b/frontend/app/App.tsx index 3f1333a..31adc28 100644 --- a/frontend/app/App.tsx +++ b/frontend/app/App.tsx @@ -26,9 +26,7 @@ export default function App() { </PublicOnlyRoute> </Route> <Route path="/dashboard"> - <ProtectedRoute> - <DashboardPage /> - </ProtectedRoute> + <DashboardPage /> </Route> <Route path="/golf/:gameId/preview"> {(params) => ( @@ -52,18 +50,10 @@ export default function App() { )} </Route> <Route path="/golf/:gameId/watch"> - {(params) => ( - <ProtectedRoute> - <GolfWatchPage gameId={params.gameId} /> - </ProtectedRoute> - )} + {(params) => <GolfWatchPage gameId={params.gameId} />} </Route> <Route path="/tournament/:tournamentId"> - {(params) => ( - <ProtectedRoute> - <TournamentPage tournamentId={params.tournamentId} /> - </ProtectedRoute> - )} + {(params) => <TournamentPage tournamentId={params.tournamentId} />} </Route> <Route> <div className="min-h-screen bg-gray-100 flex items-center justify-center"> |
