From 4af93cae1ca54ad7c9bc7eb4b56c010f55c4c72d Mon Sep 17 00:00:00 2001
From: Claude <noreply@anthropic.com>
Date: Fri, 20 Feb 2026 17:53:55 +0000
Subject: feat: allow viewing/spectating games without login

Make watch, ranking, game list, and tournament endpoints accessible
without authentication. Unauthenticated users can browse games and
spectate from the index page, while play/submit/preview still require
login.

https://claude.ai/code/session_019j9tNcnLsLz15e1qtbmeqe
---
 frontend/app/App.tsx | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

(limited to 'frontend/app/App.tsx')

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>
-- 
cgit v1.3.1

