Răsfoiți Sursa

revert supported lang detection

Yuki Takei 1 an în urmă
părinte
comite
d021e30262
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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);