From dba8ec332a01914b236db078bbf5ac81b68b178b Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Tue, 16 Apr 2024 14:34:59 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20remove=E5=BC=BA=E5=88=B6=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/QuillEditor.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/QuillEditor.tsx b/components/QuillEditor.tsx index f71321a..7f7a1d9 100644 --- a/components/QuillEditor.tsx +++ b/components/QuillEditor.tsx @@ -249,10 +249,10 @@ const QEditor = ({ lng }) => { } }, []); // 强制更新为我设置的API - useEffect(() => { - dispatch(setApiKey("sk-GHuPUV6ERD8wVmmr36FeB8D809D34d93Bb857c009f6aF9Fe")); - dispatch(setUpsreamUrl("https://one.paperai.life")); - }); + // useEffect(() => { + // dispatch(setApiKey("sk-GHuPUV6ERD8wVmmr36FeB8D809D34d93Bb857c009f6aF9Fe")); + // dispatch(setUpsreamUrl("https://one.paperai.life")); + // }); const handleTextChange = debounce(async function (delta, oldDelta, source) { if (source === "user") { // 获取编辑器内容