Skip to content

Commit

Permalink
chore: remore dep thread id
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Dec 23, 2024
1 parent 600cedb commit 45e6135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/screens/Thread/ThreadCenterPanel/ChatBody/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const ChatBody = memo(
parentRef.current.scrollTo({ top: parentRef.current.scrollHeight })
virtualizer.scrollToIndex(count - 1)
}
}, [count, virtualizer, currentThread?.id])
}, [count, virtualizer])

useEffect(() => {
if (parentRef.current && isGeneratingResponse) {
Expand Down

0 comments on commit 45e6135

Please sign in to comment.