Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -1,6 +1,8 @@
|
||||
import { LoaderFunctionArgs, MetaFunction } from "react-router";
|
||||
import { Outlet } from "react-router";
|
||||
import { t as i18nT } from "i18next";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { AdminPageHeader } from "~/components/screens/admin/AdminPageHeader";
|
||||
import { requestScopedT as i18nT } from "~/locale/request-scoped-t";
|
||||
|
||||
type LoaderData = {
|
||||
title: string;
|
||||
@@ -15,4 +17,12 @@ export const loader = async (_: LoaderFunctionArgs) => {
|
||||
|
||||
export const meta: MetaFunction<typeof loader> = ({ data }) => [{ title: data?.title }];
|
||||
|
||||
export default () => <Outlet />;
|
||||
export default function AdminApiShell() {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="flex w-full flex-col">
|
||||
<AdminPageHeader title={t("admin.apiAdmin.title")} description={t("admin.apiAdmin.description")} />
|
||||
<Outlet />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user