We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 643d2d5 commit f7a1625Copy full SHA for f7a1625
src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/Search/SearchResults/SearchResults.tsx
@@ -38,12 +38,6 @@ export const SearchResults = ({
38
39
const results = data?.results ?? []
40
const typeAggregations = data?.aggregations?.type
41
- const counts = {
42
- apiResultsCount: typeAggregations?.['api'] ?? 0,
43
- docsResultsCount: typeAggregations?.['doc'] ?? 0,
44
- totalCount:
45
- (typeAggregations?.['api'] ?? 0) + (typeAggregations?.['doc'] ?? 0),
46
- }
47
48
const isInitialLoading = isLoading && !data
49
@@ -63,7 +57,6 @@ export const SearchResults = ({
63
57
{!error && (
64
58
<>
65
59
<SearchFilters
66
- counts={counts}
67
60
isLoading={isInitialLoading}
68
61
inputRef={inputRef}
69
62
itemRefs={itemRefs}
0 commit comments