chore(ui): add eslint-disable for unused variables in ChatMessageList

This commit is contained in:
cfngc4594 2025-03-24 21:27:12 +08:00
parent c0783f0648
commit ef37451313

View File

@ -8,10 +8,12 @@ interface ChatMessageListProps extends React.HTMLAttributes<HTMLDivElement> {
} }
const ChatMessageList = React.forwardRef<HTMLDivElement, ChatMessageListProps>( const ChatMessageList = React.forwardRef<HTMLDivElement, ChatMessageListProps>(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
({ className, children, smooth = false, ...props }, _ref) => { ({ className, children, smooth = false, ...props }, _ref) => {
const { const {
scrollRef, scrollRef,
isAtBottom, isAtBottom,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
autoScrollEnabled, autoScrollEnabled,
scrollToBottom, scrollToBottom,
disableAutoScroll, disableAutoScroll,