From 49f396f9617f88a41bb5416cccfdb8a79b2dfb8e Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Sat, 24 Feb 2024 13:47:34 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Notification.tsx | 2 +- components/QuillEditor.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Notification.tsx b/components/Notification.tsx index 599011d..31887fc 100644 --- a/components/Notification.tsx +++ b/components/Notification.tsx @@ -27,7 +27,7 @@ const ExpandableToastContent = ({ fullText }) => { export const showExpandableToast = (message: string) => { toast(, { position: "top-center", - autoClose: 5000, + autoClose: 3000, pauseOnHover: true, className: "toastDetail", }); diff --git a/components/QuillEditor.tsx b/components/QuillEditor.tsx index b28b51c..2a018c6 100644 --- a/components/QuillEditor.tsx +++ b/components/QuillEditor.tsx @@ -471,7 +471,7 @@ const QEditor = ({ lng }) => { // throw new Error(`Paper2AI出现错误: ${error}`); toast.error(`Paper2AI出现错误: ${error}`, { position: "top-center", - autoClose: 5000, + autoClose: 3000, pauseOnHover: true, }); }