From aa8473ddda13b041beded135d30a6738b6f8e081 Mon Sep 17 00:00:00 2001 From: Shoaibdev7 Date: Fri, 9 Aug 2024 16:23:25 +0500 Subject: [PATCH] fix(tooltip): tooltip does not stay on screen after hover --- src/components/Universe/Graph/Cubes/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Universe/Graph/Cubes/index.tsx b/src/components/Universe/Graph/Cubes/index.tsx index 57393dfcc..5aceb5a66 100644 --- a/src/components/Universe/Graph/Cubes/index.tsx +++ b/src/components/Universe/Graph/Cubes/index.tsx @@ -62,10 +62,8 @@ export const Cubes = memo(() => { clearTimeout(hoverTimeoutRef.current) hoverTimeoutRef.current = null } - - setHoveredNode(null) }, - [setHoveredNode, setIsHovering], + [setIsHovering], ) const onPointerIn = useCallback(