فهرست منبع

Fix lint error (#40)

Matt Rubens 1 سال پیش
والد
کامیت
490a84e0e9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      webview-ui/src/components/chat/ChatView.tsx

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

@@ -495,7 +495,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
 		}
 		// Update previous value
 		setWasStreaming(isStreaming)
-	}, [isStreaming, lastMessage])
+	}, [isStreaming, lastMessage, wasStreaming])
 
 	const isBrowserSessionMessage = (message: ClineMessage): boolean => {
 		// which of visible messages are browser session messages, see above