diff --git a/apps/docs/components/Search.tsx b/apps/docs/components/Search.tsx index a1b5a7be6..23c1bdde6 100644 --- a/apps/docs/components/Search.tsx +++ b/apps/docs/components/Search.tsx @@ -70,6 +70,8 @@ export function Search() { router.push(url.startsWith('/') ? url : `/${url}`) } + // AI is turned off for now. + // eslint-disable-next-line @typescript-eslint/no-unused-vars const handleSearchTypeChange = () => { setSearchResults([]) setSearchType(searchType === SEARCH_TYPE.AI ? SEARCH_TYPE.NORMAL : SEARCH_TYPE.AI) @@ -95,11 +97,11 @@ export function Search() {
- {searchType === SEARCH_TYPE.NORMAL ? '✨ Search using AI' : '⭐ Search without AI'} - - } + // customUI={ + // + // } groups={['examples', 'docs', 'reference']} groupsToLabel={{ examples: 'Examples', docs: 'Articles', reference: 'Reference' }} options={searchResults}