import { createFileRoute } from "@tanstack/react-router";
import { AdminPage } from "@/features/admin";
import { msg } from "@lingui/core/macro";

export const Route = createFileRoute("/_authed/admin/")({
  loader: () => ({
    header: {
      withBackButton: true,
      title: msg`Admin`,
    },
    withPadding: false,
  }),
  component: () => <AdminPage />,
});
