From 8f2cceacc8fde328033de7f05bb12e7b1246dd86 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Thu, 1 Aug 2024 22:22:12 +0900
Subject: chore(frontend): [biome] format

---
 frontend/app/routes/admin.dashboard.tsx | 38 ++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 19 deletions(-)

(limited to 'frontend/app/routes/admin.dashboard.tsx')

diff --git a/frontend/app/routes/admin.dashboard.tsx b/frontend/app/routes/admin.dashboard.tsx
index 1d172af..ce3e910 100644
--- a/frontend/app/routes/admin.dashboard.tsx
+++ b/frontend/app/routes/admin.dashboard.tsx
@@ -3,29 +3,29 @@ import { Link } from "@remix-run/react";
 import { isAuthenticated } from "../.server/auth";
 
 export const meta: MetaFunction = () => {
-  return [{ title: "[Admin] Dashboard | iOSDC Japan 2024 Albatross.swift" }];
+	return [{ title: "[Admin] Dashboard | iOSDC Japan 2024 Albatross.swift" }];
 };
 
 export async function loader({ request }: LoaderFunctionArgs) {
-  const { user } = await isAuthenticated(request, {
-    failureRedirect: "/login",
-  });
-  if (!user.is_admin) {
-    throw new Error("Unauthorized");
-  }
-  return null;
+	const { user } = await isAuthenticated(request, {
+		failureRedirect: "/login",
+	});
+	if (!user.is_admin) {
+		throw new Error("Unauthorized");
+	}
+	return null;
 }
 
 export default function AdminDashboard() {
-  return (
-    <div>
-      <h1>[Admin] Dashboard</h1>
-      <p>
-        <Link to="/admin/users">Users</Link>
-      </p>
-      <p>
-        <Link to="/admin/games">Games</Link>
-      </p>
-    </div>
-  );
+	return (
+		<div>
+			<h1>[Admin] Dashboard</h1>
+			<p>
+				<Link to="/admin/users">Users</Link>
+			</p>
+			<p>
+				<Link to="/admin/games">Games</Link>
+			</p>
+		</div>
+	);
 }
-- 
cgit v1.3.1

