Skip to content

Commit b9d67cd

Browse files
authored
feat: hide Ask AI from docs. (#2747)
## Description Provide a concise summary of the changes made in this pull request - Hide Ask AI Button ## Pull request type Check the appropriate box: - [ ] Review Fixes - [ ] Documentation Overhaul - [ ] Feature/Story - Link one or more Engineering Tickets * - [ ] A-Force - [x] Error in documentation - [ ] Maintenance ## Documentation tickets Link to one or more documentation tickets: - ## Checklist From the below options, select the ones that are applicable: - [ ] Checked for Grammarly suggestions. - [ ] Adhered to the writing checklist. - [ ] Adhered to the media checklist. - [ ] Verified and updated cross-references or added redirect rules. - [ ] Tested the redirect rules on deploy preview. - [ ] Validated the modifications made to the content on the deploy preview. - [ ] Validated the CSS modifications on different screen sizes.
1 parent 83e065f commit b9d67cd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

website/src/components/custom-search/CustomSearchBar.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ const CustomSearchBar = () => {
3535
return (
3636
<>
3737
<div className="custom-segmented-search-option">
38-
<div
39-
className={`custom-search-option ${searchType === 'ai' ? 'selected' : ''}`}
40-
onClick={() => handleClick('ai')}
41-
>
42-
<img src="/img/ask-ai-robot-icon.svg" alt="Ask AI" className='ai-search-icon'></img> Ask AI
43-
</div>
44-
4538
<div
4639
className={`custom-search-option ${searchType === 'docs' ? 'selected' : ''}`}
4740
onClick={() => handleClick('docs')}

0 commit comments

Comments
 (0)