diff --git a/src/app/routes/_authed/admin/index.tsx b/src/app/routes/_authed/admin/index.tsx
index abfd948..6d92114 100644
--- a/src/app/routes/_authed/admin/index.tsx
+++ b/src/app/routes/_authed/admin/index.tsx
@@ -2,5 +2,12 @@ import { createFileRoute } from "@tanstack/react-router"
import { AdminPage } from "@/features/admin";
export const Route = createFileRoute("/_authed/admin/")({
- component: () => ,
+ loader: () => ({
+ header: {
+ withBackButton: true,
+ title: "Admin"
+ },
+ withPadding: false
+ }),
+ component: () =>
})
diff --git a/src/features/admin/components/admin-page.tsx b/src/features/admin/components/admin-page.tsx
index e91c4b3..ba62406 100644
--- a/src/features/admin/components/admin-page.tsx
+++ b/src/features/admin/components/admin-page.tsx
@@ -1,20 +1,15 @@
-import { Title, List, Divider } from "@mantine/core";
+import { List } from "@mantine/core";
import ListLink from "@/components/list-link";
-import Page from "@/components/page";
import { DatabaseIcon, TreeStructureIcon, TrophyIcon, UsersFourIcon, UsersThreeIcon } from "@phosphor-icons/react";
import ListButton from "@/components/list-button";
const AdminPage = () => {
- console.log(process.env.VITE_POCKETBASE_URL!)
return (
-
- Admin
-
-
- window.location.replace(import.meta.env.VITE_POCKETBASE_URL! + "/_/")} />
-
-
-
+
+
+ window.location.replace(import.meta.env.VITE_POCKETBASE_URL! + "/_/")} />
+
+
);
};