chore: clean up console log
This commit is contained in:
parent
241a90492e
commit
f271e8fe9c
@ -38,8 +38,6 @@ function ThreadDetail() {
|
||||
const chatWidth = useAppearance((state) => state.chatWidth)
|
||||
const isSmallScreen = useSmallScreen()
|
||||
|
||||
// useTools()
|
||||
|
||||
const { messages } = useMessages(
|
||||
useShallow((state) => ({
|
||||
messages: state.messages[threadId],
|
||||
@ -50,8 +48,6 @@ function ThreadDetail() {
|
||||
const thread = useThreads(useShallow((state) => state.threads[threadId]))
|
||||
const scrollContainerRef = useRef<HTMLDivElement>(null)
|
||||
|
||||
console.log('rerender')
|
||||
|
||||
useEffect(() => {
|
||||
if (currentThreadId !== threadId) {
|
||||
setCurrentThreadId(threadId)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user