From 8939bcd25874df196f42d9ef1a15e0d59764dfd7 Mon Sep 17 00:00:00 2001 From: weaigc <879821485@qq.com> Date: Sat, 19 Aug 2023 17:54:51 +0800 Subject: [PATCH] tmp: add test proxy --- src/components/chat-panel.tsx | 2 +- src/components/chat-suggestions.tsx | 2 +- src/components/voice.tsx | 2 +- src/pages/api/proxy.ts | 12 ++++++++---- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/chat-panel.tsx b/src/components/chat-panel.tsx index 1fbc3c2b..56b2112b 100644 --- a/src/components/chat-panel.tsx +++ b/src/components/chat-panel.tsx @@ -75,7 +75,7 @@ export function ChatPanel({ if (input) { setFocus() } - }, [input]) + }, [input, setFocus]) return (