docs: Replaces use of CatalogResultListItem with correct symbol

I copied the docs and noticed that the example didn't compile. According
to the changelog this is the fix

Signed-off-by: Michael Stergianis <mstergianis@vmware.com>
This commit is contained in:
Michael Stergianis
2022-11-10 17:21:58 -05:00
parent af5d2741da
commit cf79f4b68a
+3 -3
View File
@@ -68,7 +68,7 @@ export const searchPage = (
switch (result.type) {
case 'software-catalog':
return (
<CatalogResultListItem
<CatalogSearchResultListItem
key={result.document.location}
result={result.document}
highlight={result.highlight}
@@ -253,7 +253,7 @@ const MyCustomFilter = () => {
It's good practice for search results to highlight information that was used to
return it in the first place! The code below highlights how you might specify a
custom result item component, using the `<CatalogResultListItem />` component as
custom result item component, using the `<CatalogSearchResultListItem />` component as
an example:
```tsx {7-13}
@@ -265,7 +265,7 @@ an example:
switch (result.type) {
case 'software-catalog':
return (
<CatalogResultListItem
<CatalogSearchResultListItem
key={result.document.location}
result={result.document}
highlight={result.highlight}