Yuki Takei 1 год назад
Родитель
Сommit
7a96e3c35c
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      apps/app/src/pages/installer.page.tsx

+ 0 - 3
apps/app/src/pages/installer.page.tsx

@@ -1,6 +1,5 @@
 import React, { useMemo } from 'react';
 import React, { useMemo } from 'react';
 
 
-import { pagePathUtils } from '@growi/core/dist/utils';
 import type {
 import type {
   NextPage, GetServerSideProps, GetServerSidePropsContext,
   NextPage, GetServerSideProps, GetServerSidePropsContext,
 } from 'next';
 } from 'next';
@@ -23,8 +22,6 @@ const InstallerForm = dynamic(() => import('../components/InstallerForm'), { ssr
 const DataTransferForm = dynamic(() => import('../components/DataTransferForm'), { ssr: false });
 const DataTransferForm = dynamic(() => import('../components/DataTransferForm'), { ssr: false });
 const CustomNavAndContents = dynamic(() => import('../components/CustomNavigation/CustomNavAndContents'), { ssr: false });
 const CustomNavAndContents = dynamic(() => import('../components/CustomNavigation/CustomNavAndContents'), { ssr: false });
 
 
-const { isTrashPage: _isTrashPage } = pagePathUtils;
-
 async function injectNextI18NextConfigurations(context: GetServerSidePropsContext, props: Props, namespacesRequired?: string[] | undefined): Promise<void> {
 async function injectNextI18NextConfigurations(context: GetServerSidePropsContext, props: Props, namespacesRequired?: string[] | undefined): Promise<void> {
   const nextI18NextConfig = await getNextI18NextConfig(serverSideTranslations, context, namespacesRequired, true);
   const nextI18NextConfig = await getNextI18NextConfig(serverSideTranslations, context, namespacesRequired, true);
   props._nextI18Next = nextI18NextConfig._nextI18Next;
   props._nextI18Next = nextI18NextConfig._nextI18Next;