From 262164c5ad05e0637e3eb19341f57606a8b6c535 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Wed, 21 Feb 2024 17:23:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=8D=E5=A4=8D=E5=88=B7=E6=96=B0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/chat.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index be59f5487..7830e5064 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -502,7 +502,8 @@ export function ChatActions(props: { ); showToast(nextModel); } - }, [chatStore, currentModel, models, props]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [chatStore, currentModel, models]); return (