aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/App.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-03-06 02:18:40 +0900
committernsfisis <nsfisis@gmail.com>2026-03-06 02:18:40 +0900
commit46f9ba5d8c295454381655e6ec02ad3cf8bd79db (patch)
treec54719cb129ee05f96c4898219588062f71daa36 /frontend/app/App.tsx
parent27f509ccf4fbfeaa1bc2580ae2251461dc44ebfa (diff)
downloadphperkaigi-2026-albatross-46f9ba5d8c295454381655e6ec02ad3cf8bd79db.tar.gz
phperkaigi-2026-albatross-46f9ba5d8c295454381655e6ec02ad3cf8bd79db.tar.zst
phperkaigi-2026-albatross-46f9ba5d8c295454381655e6ec02ad3cf8bd79db.zip
style: switch from tab to space indentation in frontend and worker/php
Update biome.json indentStyle from "tab" to "space" and reformat all files in both workspaces. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'frontend/app/App.tsx')
-rw-r--r--frontend/app/App.tsx88
1 files changed, 44 insertions, 44 deletions
diff --git a/frontend/app/App.tsx b/frontend/app/App.tsx
index 762dab6..2b095ab 100644
--- a/frontend/app/App.tsx
+++ b/frontend/app/App.tsx
@@ -11,48 +11,48 @@ import LoginPage from "./pages/LoginPage";
import TournamentPage from "./pages/TournamentPage";
export default function App() {
- return (
- <Router base={BASE_PATH.replace(/\/$/, "")}>
- <Switch>
- <Route path="/">
- <PublicOnlyRoute>
- <IndexPage />
- </PublicOnlyRoute>
- </Route>
- <Route path="/login">
- <PublicOnlyRoute>
- <LoginPage />
- </PublicOnlyRoute>
- </Route>
- <Route path="/dashboard">
- <DashboardPage />
- </Route>
- <Route path="/golf/:gameId/preview">
- {(params) => (
- <ProtectedRoute>
- <GolfProblemPreviewPage gameId={params.gameId} />
- </ProtectedRoute>
- )}
- </Route>
- <Route path="/golf/:gameId/play">
- {(params) => (
- <ProtectedRoute>
- <GolfPlayPage gameId={params.gameId} />
- </ProtectedRoute>
- )}
- </Route>
- <Route path="/golf/:gameId/watch">
- {(params) => <GolfWatchPage gameId={params.gameId} />}
- </Route>
- <Route path="/tournament/:tournamentId">
- {(params) => <TournamentPage tournamentId={params.tournamentId} />}
- </Route>
- <Route>
- <div className="min-h-screen bg-gray-100 flex items-center justify-center">
- <p className="text-gray-500 text-xl">404 - Page not found</p>
- </div>
- </Route>
- </Switch>
- </Router>
- );
+ return (
+ <Router base={BASE_PATH.replace(/\/$/, "")}>
+ <Switch>
+ <Route path="/">
+ <PublicOnlyRoute>
+ <IndexPage />
+ </PublicOnlyRoute>
+ </Route>
+ <Route path="/login">
+ <PublicOnlyRoute>
+ <LoginPage />
+ </PublicOnlyRoute>
+ </Route>
+ <Route path="/dashboard">
+ <DashboardPage />
+ </Route>
+ <Route path="/golf/:gameId/preview">
+ {(params) => (
+ <ProtectedRoute>
+ <GolfProblemPreviewPage gameId={params.gameId} />
+ </ProtectedRoute>
+ )}
+ </Route>
+ <Route path="/golf/:gameId/play">
+ {(params) => (
+ <ProtectedRoute>
+ <GolfPlayPage gameId={params.gameId} />
+ </ProtectedRoute>
+ )}
+ </Route>
+ <Route path="/golf/:gameId/watch">
+ {(params) => <GolfWatchPage gameId={params.gameId} />}
+ </Route>
+ <Route path="/tournament/:tournamentId">
+ {(params) => <TournamentPage tournamentId={params.tournamentId} />}
+ </Route>
+ <Route>
+ <div className="min-h-screen bg-gray-100 flex items-center justify-center">
+ <p className="text-gray-500 text-xl">404 - Page not found</p>
+ </div>
+ </Route>
+ </Switch>
+ </Router>
+ );
}