Skip to content

Commit a4aed47

Browse files
committed
Fixes
1 parent 20e6874 commit a4aed47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/chat/ChatView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
618618
}, 50)
619619
// return () => clearTimeout(timer) // dont cleanup since if visibleMessages.length changes it cancels.
620620
}
621-
}, [visibleMessages.length, scrollToBottomSmooth])
621+
}, [groupedMessages.length, scrollToBottomSmooth])
622622

623623
const handleWheel = useCallback((event: Event) => {
624624
const wheelEvent = event as WheelEvent

0 commit comments

Comments
 (0)