Change log

-   config.ts
    -   line 72 remove type confirmation of x as x always has type 'number'
    -   line 135 remove redundant local variable
-   chat.ts
    -   delete unused import
This commit is contained in:
KeithHello
2023-10-04 16:38:28 +09:00
parent 144200e315
commit ad5093ce05
3 changed files with 5 additions and 10 deletions

View File

@@ -65,7 +65,7 @@ export const ALL_LANG_OPTIONS: Record<Lang, string> = {
};
const LANG_KEY = "lang";
const DEFAULT_LANG = "en";
const DEFAULT_LANG = "cn";
const fallbackLang = en;
const targetLang = ALL_LANGS[getLang()] as LocaleType;