mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-21 17:42:25 +08:00
Change log
- config.ts - line 72: remove type confirmation of x as x always has type 'number' - line 135: remove the redundant local variable - chat.ts - delete the unused import
This commit is contained in:
@@ -65,7 +65,7 @@ export const ALL_LANG_OPTIONS: Record<Lang, string> = {
|
||||
};
|
||||
|
||||
const LANG_KEY = "lang";
|
||||
const DEFAULT_LANG = "cn";
|
||||
const DEFAULT_LANG = "en";
|
||||
|
||||
const fallbackLang = en;
|
||||
const targetLang = ALL_LANGS[getLang()] as LocaleType;
|
||||
|
Reference in New Issue
Block a user