|
|
@@ -2,9 +2,8 @@ import {
|
|
|
NextPage, GetServerSideProps, GetServerSidePropsContext,
|
|
|
} from 'next';
|
|
|
import dynamic from 'next/dynamic';
|
|
|
-import Head from 'next/head';
|
|
|
|
|
|
-import { CommonProps, generateCustomTitle } from '~/pages/utils/commons';
|
|
|
+import { CommonProps } from '~/pages/utils/commons';
|
|
|
import { useCurrentUser } from '~/stores/context';
|
|
|
import { useIsMaintenanceMode } from '~/stores/maintenanceMode';
|
|
|
|
|
|
@@ -18,13 +17,8 @@ const AdminAppPage: NextPage<CommonProps> = (props) => {
|
|
|
useIsMaintenanceMode(props.isMaintenanceMode);
|
|
|
useCurrentUser(props.currentUser ?? null);
|
|
|
|
|
|
- const title = generateCustomTitle(props, 'GROWI');
|
|
|
-
|
|
|
return (
|
|
|
<AdminLayout>
|
|
|
- <Head>
|
|
|
- <title>{title}</title>
|
|
|
- </Head>
|
|
|
<AdminNotFoundPage />
|
|
|
</AdminLayout>
|
|
|
);
|