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 84616d3 commit 7317541Copy full SHA for 7317541
src/hooks/useCioAutocomplete.ts
@@ -119,7 +119,7 @@ const useCioAutocomplete = (options: UseCioAutocompleteOptions) => {
119
120
// Products always have links, Search Suggestions with getSearchResultsUrl have links
121
const hasLink =
122
- item.data?.url || (item.section === 'Search Suggestions' && getSearchResultsUrl);
+ item.data?.url || (item.section === 'Search Suggestions' && getSearchResultsUrl) || false;
123
124
const nonInteractiveItemsProps = {
125
tabIndex: 0,
0 commit comments