@@ -32,7 +32,7 @@ const InstallerForm = memo((props: Props): JSX.Element => {
const tWithOpt = useTWithOpt();
- const isSupportedLang = AllLang.includes(i18n.language as Lang);
+ const isSupportedLang = AllLang.includes(i18n.language);
const [isValidUserName, setValidUserName] = useState(true);
const [isLoading, setIsLoading] = useState(false);
@@ -1,7 +1,7 @@
import type { ReactElement, ReactNode } from 'react';
import React, { useEffect } from 'react';
-import type { Locale } from '@growi/core';
+import type { Locale } from '@growi/core/dist/interfaces';
import type { NextPage } from 'next';
import { appWithTranslation } from 'next-i18next';
import type { AppContext, AppProps } from 'next/app';
/* eslint-disable @next/next/google-font-display */
import React from 'react';
import type { DocumentContext, DocumentInitialProps } from 'next/document';
import Document, {
Html, Head, Main, NextScript,