From fa7755592845a44928e88d2ab78cc04425aa9024 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 4 Aug 2024 14:11:34 +0900 Subject: chore(frontend): format --- frontend/app/routes/admin.games_.$gameId.tsx | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'frontend/app/routes/admin.games_.$gameId.tsx') diff --git a/frontend/app/routes/admin.games_.$gameId.tsx b/frontend/app/routes/admin.games_.$gameId.tsx index 0d2cac6..c4d75c1 100644 --- a/frontend/app/routes/admin.games_.$gameId.tsx +++ b/frontend/app/routes/admin.games_.$gameId.tsx @@ -7,15 +7,13 @@ import { Form, useLoaderData } from "@remix-run/react"; import { adminApiGetGame, adminApiPutGame } from "../.server/api/client"; import { ensureAdminUserLoggedIn } from "../.server/auth"; -export const meta: MetaFunction = ({ data }) => { - return [ - { - title: data - ? `[Admin] Game Edit ${data.game.display_name} | iOSDC Japan 2024 Albatross.swift` - : "[Admin] Game Edit | iOSDC Japan 2024 Albatross.swift", - }, - ]; -}; +export const meta: MetaFunction = ({ data }) => [ + { + title: data + ? `[Admin] Game Edit ${data.game.display_name} | iOSDC Japan 2024 Albatross.swift` + : "[Admin] Game Edit | iOSDC Japan 2024 Albatross.swift", + }, +]; export async function loader({ request, params }: LoaderFunctionArgs) { const { token } = await ensureAdminUserLoggedIn(request); -- cgit v1.2.3-70-g09d2