mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 23:56:33 +08:00
feat: close #1478 new chat use global config as default
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user