feat: close #1478 new chat use global config as default

This commit is contained in:
Yidadaa
2023-05-20 00:39:52 +08:00
parent 203ac0970d
commit b1ba3df989
19 changed files with 97 additions and 223 deletions

View File

@@ -31,7 +31,12 @@ import {
useAppConfig,
} from "../store";
import Locale, { AllLangs, changeLang, getLang } from "../locales";
import Locale, {
AllLangs,
ALL_LANG_OPTIONS,
changeLang,
getLang,
} from "../locales";
import { copyToClipboard } from "../utils";
import Link from "next/link";
import { Path, UPDATE_URL } from "../constant";
@@ -419,7 +424,7 @@ export function Settings() {
>
{AllLangs.map((lang) => (
<option value={lang} key={lang}>
{Locale.Settings.Lang.Options[lang]}
{ALL_LANG_OPTIONS[lang]}
</option>
))}
</Select>