feat: toast

This commit is contained in:
Dorbmon
2024-12-25 14:31:28 +08:00
parent 442feabcce
commit fa2b89ce37
3 changed files with 13 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ import React, {
Fragment,
RefObject,
} from "react";
import { toast } from "react-toastify";
import SendWhiteIcon from "../icons/send-white.svg";
import BrainIcon from "../icons/brain.svg";
import RenameIcon from "../icons/rename.svg";
@@ -2041,7 +2041,10 @@ function _Chat() {
text={Locale.Chat.Send}
className={styles["chat-input-send"]}
type="primary"
onClick={() => doSubmit(userInput)}
onClick={() => {
toast("刘子阳真是爱江晨成!!!");
doSubmit(userInput);
}}
/>
</label>
</div>