File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/react-components/src/components/InviteAgents Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ import styles from './InviteAgents.module.scss';
18
18
19
19
const baseClass = 'invite-agents' ;
20
20
21
+ const HOVER_ON_DELAY = 50 ;
22
+
21
23
const InviteAgentsComponent : FC < InviteAgentsProps > = ( {
22
24
agents,
23
25
onSetUpChatbotClick,
@@ -114,7 +116,7 @@ const InviteAgentsComponent: FC<InviteAgentsProps> = ({
114
116
isVisible = { isTooltipVisible && ! isMenuOpen }
115
117
offsetMainAxis = { tooltipArrowOffset }
116
118
floatingStrategy = "fixed"
117
- hoverOnDelay = { 50 }
119
+ hoverOnDelay = { HOVER_ON_DELAY }
118
120
onOpen = { ( ) => setIsTooltipVisible ( true ) }
119
121
onClose = { ( ) => setIsTooltipVisible ( false ) }
120
122
className = { cx ( ThemeClassName . Dark , styles [ `${ baseClass } __tooltip` ] ) }
You can’t perform that action at this time.
0 commit comments