diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-04 14:11:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-04 14:16:59 +0900 |
| commit | fa7755592845a44928e88d2ab78cc04425aa9024 (patch) | |
| tree | a07dc0ee1bef58d24326f5dc1d2734c4ad298ab7 /frontend/app/routes/admin.games_.$gameId.tsx | |
| parent | 4c43d2b7b2b42b0da7863ea468fa39bf8129ebdf (diff) | |
| download | phperkaigi-2025-albatross-fa7755592845a44928e88d2ab78cc04425aa9024.tar.gz phperkaigi-2025-albatross-fa7755592845a44928e88d2ab78cc04425aa9024.tar.zst phperkaigi-2025-albatross-fa7755592845a44928e88d2ab78cc04425aa9024.zip | |
chore(frontend): format
Diffstat (limited to 'frontend/app/routes/admin.games_.$gameId.tsx')
| -rw-r--r-- | frontend/app/routes/admin.games_.$gameId.tsx | 16 |
1 files changed, 7 insertions, 9 deletions
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<typeof loader> = ({ 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<typeof loader> = ({ 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); |
