Skip to content

Commit 5230c15

Browse files
committed
Revert unrelated formatting
1 parent 55b5c91 commit 5230c15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
730730
}
731731
},
732732
50,
733-
[isHidden, sendingDisabled, enableButtons],
733+
[isHidden, sendingDisabled, enableButtons]
734734
)
735735

736736
const visibleMessages = useMemo(() => {
@@ -1095,8 +1095,8 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
10951095

10961096
useEffect(() => {
10971097
return () => {
1098-
if (scrollToBottomSmooth && typeof (scrollToBottomSmooth as any).cancel === "function") {
1099-
;(scrollToBottomSmooth as any).cancel()
1098+
if (scrollToBottomSmooth && typeof (scrollToBottomSmooth as any).cancel === 'function') {
1099+
(scrollToBottomSmooth as any).cancel()
11001100
}
11011101
}
11021102
}, [scrollToBottomSmooth])

0 commit comments

Comments
 (0)