Skip to content

Commit

Permalink
Update type
Browse files Browse the repository at this point in the history
  • Loading branch information
dkmyta committed Oct 22, 2024
1 parent e0573e4 commit 3fd1561
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const IconTooltip: React.FC< IconTooltipProps > = ( {
} ) => {
const POPOVER_HELPER_WIDTH = 124;
const [ isVisible, setIsVisible ] = useState( false );
const [ timeoutId, setTimeoutId ] = useState< NodeJS.Timeout | null >( null );
const [ timeoutId, setTimeoutId ] = useState< number | null >( null );

const hideTooltip = useCallback( () => setIsVisible( false ), [ setIsVisible ] );
const toggleTooltip = useCallback(
Expand Down

0 comments on commit 3fd1561

Please sign in to comment.