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/dashboard.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'frontend/app/routes/dashboard.tsx') diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx index 56cc106..f44fe79 100644 --- a/frontend/app/routes/dashboard.tsx +++ b/frontend/app/routes/dashboard.tsx @@ -5,11 +5,9 @@ import { createApiClient } from "../api/client"; import BorderedContainerWithCaption from "../components/BorderedContainerWithCaption"; import NavigateLink from "../components/NavigateLink"; import UserIcon from "../components/UserIcon"; -import { BASE_PATH } from "../config"; +import { APP_NAME, BASE_PATH } from "../config"; -export const meta: MetaFunction = () => [ - { title: "Dashboard | iOSDC Japan 2025 Albatross" }, -]; +export const meta: MetaFunction = () => [{ title: `Dashboard | ${APP_NAME}` }]; export async function loader({ request }: LoaderFunctionArgs) { const { user, token } = await ensureUserLoggedIn(request); -- cgit v1.3.1