Skip to content

Commit 25b331c

Browse files
authored
[AI Search] Remove Extraneous Spinner on Copilot Response (#54820)
1 parent aafdf25 commit 25b331c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/search/components/input/SearchOverlay.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,8 @@ function renderSearchGroups(
767767
groups.push(<ActionList.Divider key="no-answer-divider" />)
768768
}
769769

770-
if (showSpinner) {
770+
// already showing spinner when streaming AI response, so don't want to show 2 here
771+
if (showSpinner && !isInAskAIState) {
771772
groups.push(
772773
<Box
773774
key="loading"

0 commit comments

Comments
 (0)