Преглед изворни кода

revert supported lang detection

Yuki Takei пре 1 година
родитељ
комит
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);