Remove loading state for recommended questions (#3029)

This commit is contained in:
Zeno Kapitein
2025-03-24 19:19:12 +01:00
committed by GitHub
parent 27532a5f41
commit d7aa5fa003
@@ -77,7 +77,8 @@ export const SearchResults = React.forwardRef(function SearchResults(
let cancelled = false;
setResultsState({ results: [], fetching: true });
// Silently fetch the recommended questions, instead of showing a spinner
setResultsState({ results: [], fetching: false });
// We currently have a bug where the same question can be returned multiple times.
// This is a workaround to avoid that.