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 1afb37e commit 87109d1Copy full SHA for 87109d1
src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/Search/SearchResults.tsx
@@ -68,7 +68,7 @@ export const SearchResults = () => {
68
<>
69
<ul>
70
{data.results.map((result) => (
71
- <SearchResultListItem item={result} />
+ <SearchResultListItem item={result} key={result.url} />
72
))}
73
</ul>
74
<EuiSpacer size="m" />
@@ -118,7 +118,7 @@ function SearchResultListItem({ item: result }: SearchResultListItemProps) {
118
highlightSearchTerms.push('.net')
119
}
120
return (
121
- <li key={result.url}>
+ <li>
122
<div
123
tabIndex={0}
124
css={css`
0 commit comments