aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/App.tsx
diff options
context:
space:
mode:
authornsfisis <54318333+nsfisis@users.noreply.github.com>2026-02-21 09:35:03 +0900
committerGitHub <noreply@github.com>2026-02-21 09:35:03 +0900
commitaa25d66376f30c590c697a2c7eb981a24e1057bb (patch)
treecd6dc50573a90bb2625df981b8c9305c63f156c0 /frontend/app/App.tsx
parent00354d392a0bcddaac71fee7b6aae721e5747f59 (diff)
parent277c9726f0f39d1db83624a8b62a77ac19c2ac0a (diff)
downloadphperkaigi-2026-albatross-aa25d66376f30c590c697a2c7eb981a24e1057bb.tar.gz
phperkaigi-2026-albatross-aa25d66376f30c590c697a2c7eb981a24e1057bb.tar.zst
phperkaigi-2026-albatross-aa25d66376f30c590c697a2c7eb981a24e1057bb.zip
Merge pull request #6 from nsfisis/claude/allow-viewing-without-login-zODtV
Allow unauthenticated users to view games and watch matches
Diffstat (limited to 'frontend/app/App.tsx')
-rw-r--r--frontend/app/App.tsx16
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">