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 b1fff6a commit e09fa32Copy full SHA for e09fa32
apps/site/components/Common/Searchbox/Search.tsx
@@ -50,7 +50,7 @@ export const Search: FC<SearchProps> = ({ onChatTrigger }) => {
50
onClick={onChatTrigger}
51
className={classNames(
52
styles.chatButton,
53
- searchTerm ? styles.chatButtonWithSearch : ''
+ { [styles.chatButtonWithSearch]: searchTerm }
54
)}
55
data-focus-on-arrow-nav
56
>
0 commit comments