Skip to content

Commit 54c8c31

Browse files
author
Vadym
committed
fix(InviteAgents): component minor improvements
1 parent bfecec0 commit 54c8c31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-components/src/components/InviteAgents/InviteAgents.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import styles from './InviteAgents.module.scss';
1818

1919
const baseClass = 'invite-agents';
2020

21+
const HOVER_ON_DELAY = 50;
22+
2123
const InviteAgentsComponent: FC<InviteAgentsProps> = ({
2224
agents,
2325
onSetUpChatbotClick,
@@ -114,7 +116,7 @@ const InviteAgentsComponent: FC<InviteAgentsProps> = ({
114116
isVisible={isTooltipVisible && !isMenuOpen}
115117
offsetMainAxis={tooltipArrowOffset}
116118
floatingStrategy="fixed"
117-
hoverOnDelay={50}
119+
hoverOnDelay={HOVER_ON_DELAY}
118120
onOpen={() => setIsTooltipVisible(true)}
119121
onClose={() => setIsTooltipVisible(false)}
120122
className={cx(ThemeClassName.Dark, styles[`${baseClass}__tooltip`])}

0 commit comments

Comments
 (0)