Merge remote-tracking branch 'origin/dev'

# Conflicts:
#	app/components/chat.tsx
This commit is contained in:
sijinhui 2024-07-27 22:02:51 +08:00
commit ca83896805
5 changed files with 12 additions and 11 deletions

View File

@ -21,6 +21,7 @@ import {
import type { FormProps, TabsProps } from "antd";
import { SignInOptions } from "next-auth/react";
import { getSession } from "next-auth/react";
import { FieldData } from "rc-field-form/es/interface";
export default function UserLoginCore() {
const [loading, setLoading] = useState(false);
@ -153,7 +154,7 @@ export default function UserLoginCore() {
<span>
<br />
<span style={{ color: "red" }}></span>
<span style={{ color: "red" }}>&nbsp;</span>
</span>
),
});
@ -172,7 +173,7 @@ export default function UserLoginCore() {
name: "password",
errors: [result.error],
},
]);
] as FieldData[]);
}
if (loginProvider === "email") {
loginForm.setFields([
@ -180,7 +181,7 @@ export default function UserLoginCore() {
name: "email",
errors: [result.error],
},
]);
] as FieldData[]);
}
}
console.log("response,", result);

View File

@ -651,11 +651,11 @@ export function ChatActions(props: {
/>
)}
<ChatAction
onClick={() => setShowPluginSelector(true)}
text={Locale.Plugin.Name}
icon={<PluginIcon />}
/>
{/*<ChatAction*/}
{/* onClick={() => setShowPluginSelector(true)}*/}
{/* text={Locale.Plugin.Name}*/}
{/* icon={<PluginIcon />}*/}
{/*/>*/}
{showPluginSelector && (
<Selector
multiple

View File

@ -541,7 +541,7 @@ export function ImagePreviewer(props: {
<div>
<div className={styles["main-title"]}>NextChat</div>
<div className={styles["sub-title"]}>
github.com/Yidadaa/ChatGPT-Next-Web
github.com/ChatGPTNextWeb/ChatGPT-Next-Web
</div>
<div className={styles["icons"]}>
<ExportAvatar avatar={config.avatar} />

View File

@ -1,4 +1,4 @@
export const OWNER = "Yidadaa";
export const OWNER = "ChatGPTNextWeb";
export const REPO = "ChatGPT-Next-Web";
export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;

View File

@ -9,7 +9,7 @@
},
"package": {
"productName": "NextChat",
"version": "2.13.1"
"version": "2.14.0"
},
"tauri": {
"allowlist": {