Skip to content

Commit a27d740

Browse files
authored
Merge branch 'main' into debug-openapi
2 parents d165481 + d7aa5fa commit a27d740

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/gitbook/src/components/Search/SearchResults.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ export const SearchResults = React.forwardRef(function SearchResults(
7777

7878
let cancelled = false;
7979

80-
setResultsState({ results: [], fetching: true });
80+
// Silently fetch the recommended questions, instead of showing a spinner
81+
setResultsState({ results: [], fetching: false });
8182

8283
// We currently have a bug where the same question can be returned multiple times.
8384
// This is a workaround to avoid that.

0 commit comments

Comments
 (0)