From f0db9e6b03c04d15c9562496314df43e135272eb Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Wed, 8 Jan 2025 10:46:08 +0800 Subject: [PATCH] fix: mockOnChange on user input textarea --- src/components/ui/chat/chat-input.tsx | 1 + src/components/ui/textarea.tsx | 20 +++++++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/components/ui/chat/chat-input.tsx b/src/components/ui/chat/chat-input.tsx index a23670a..2065c6a 100644 --- a/src/components/ui/chat/chat-input.tsx +++ b/src/components/ui/chat/chat-input.tsx @@ -8,6 +8,7 @@ interface ChatInputProps const ChatInput = React.forwardRef( ({ className, ...props }, ref) => (