From 7037bd46431830e4d4ad46b2e136243e8455ac02 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 13 Feb 2026 21:38:42 +0900 Subject: refactor(frontend): extract APP_NAME constant for page titles Co-Authored-By: Claude Opus 4.6 --- frontend/app/routes/golf.$gameId.watch.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'frontend/app/routes/golf.$gameId.watch.tsx') diff --git a/frontend/app/routes/golf.$gameId.watch.tsx b/frontend/app/routes/golf.$gameId.watch.tsx index 9eab29b..7468be5 100644 --- a/frontend/app/routes/golf.$gameId.watch.tsx +++ b/frontend/app/routes/golf.$gameId.watch.tsx @@ -5,12 +5,13 @@ import { redirect, useLoaderData } from "react-router"; import { ensureUserLoggedIn } from "../.server/auth"; import { ApiClientContext, createApiClient } from "../api/client"; import GolfWatchApp from "../components/GolfWatchApp"; +import { APP_NAME } from "../config"; export const meta: MetaFunction = ({ data }) => [ { title: data - ? `Golf Watching ${data.game.display_name} | iOSDC Japan 2025 Albatross` - : "Golf Watching | iOSDC Japan 2025 Albatross", + ? `Golf Watching ${data.game.display_name} | ${APP_NAME}` + : `Golf Watching | ${APP_NAME}`, }, ]; -- cgit v1.3.1