From ef374513132c3736ee91b20ab131e293188d10ed Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Mon, 24 Mar 2025 21:27:12 +0800 Subject: [PATCH] chore(ui): add eslint-disable for unused variables in ChatMessageList --- src/components/ui/chat/chat-message-list.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/ui/chat/chat-message-list.tsx b/src/components/ui/chat/chat-message-list.tsx index 8743874..70809a9 100644 --- a/src/components/ui/chat/chat-message-list.tsx +++ b/src/components/ui/chat/chat-message-list.tsx @@ -8,10 +8,12 @@ interface ChatMessageListProps extends React.HTMLAttributes { } const ChatMessageList = React.forwardRef( + // eslint-disable-next-line @typescript-eslint/no-unused-vars ({ className, children, smooth = false, ...props }, _ref) => { const { scrollRef, isAtBottom, + // eslint-disable-next-line @typescript-eslint/no-unused-vars autoScrollEnabled, scrollToBottom, disableAutoScroll,