aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/routes/admin.games_.$gameId.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/routes/admin.games_.$gameId.tsx')
-rw-r--r--frontend/app/routes/admin.games_.$gameId.tsx16
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);