diff --git a/web/chat/tooltip-provider.js b/web/chat/tooltip-provider.js --- a/web/chat/tooltip-provider.js +++ b/web/chat/tooltip-provider.js @@ -40,17 +40,12 @@ }; function TooltipProvider(props: Props): React.Node { const { children } = props; - // eslint-disable-next-line no-unused-vars const tooltipSymbol = React.useRef(null); - // eslint-disable-next-line no-unused-vars const tooltipCancelTimer = React.useRef(null); - // eslint-disable-next-line no-unused-vars const [tooltipNode, setTooltipNode] = React.useState(null); const [ - // eslint-disable-next-line no-unused-vars tooltipPosition, - // eslint-disable-next-line no-unused-vars setTooltipPosition, ] = React.useState(null); @@ -98,14 +93,12 @@ [clearTooltip], ); - // eslint-disable-next-line no-unused-vars const onMouseEnterTooltip = React.useCallback(() => { if (tooltipSymbol.current) { clearTimeout(tooltipCancelTimer.current); } }, []); - // eslint-disable-next-line no-unused-vars const onMouseLeaveTooltip = React.useCallback(() => { const timer = setTimeout( clearCurrentTooltip,