Просмотр исходного кода

revert supported lang detection

Yuki Takei 1 год назад
Родитель
Сommit
d021e30262
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/client/components/InstallerForm.tsx

+ 1 - 1
apps/app/src/client/components/InstallerForm.tsx

@@ -32,7 +32,7 @@ const InstallerForm = memo((props: Props): JSX.Element => {
 
   const tWithOpt = useTWithOpt();
 
-  const isSupportedLang = AllLang.includes(i18n.language);
+  const isSupportedLang = AllLang.includes(i18n.language as Lang);
 
   const [isValidUserName, setValidUserName] = useState(true);
   const [isLoading, setIsLoading] = useState(false);