From 4ea6d17997ee813759911897d860024192527a10 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:27:21 -0400 Subject: [PATCH] Fix inspecting loader --- webview-ui/src/components/chat/ChatRow.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index d46880a..249e0a5 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -381,7 +381,8 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa ) case "inspectSite": - const isInspecting = lastModifiedMessage?.say === "inspect_site_result" && !lastModifiedMessage?.images + const isInspecting = + isLast && lastModifiedMessage?.say === "inspect_site_result" && !lastModifiedMessage?.images return ( <>