aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/App.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/App.tsx')
-rw-r--r--frontend/app/App.tsx14
1 files changed, 3 insertions, 11 deletions
diff --git a/frontend/app/App.tsx b/frontend/app/App.tsx
index 3f1333a..be608e4 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,17 +50,11 @@ 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>
+ <TournamentPage tournamentId={params.tournamentId} />
)}
</Route>
<Route>