persist info element as long as the gaze is on the warning icon

This commit is contained in:
bedlam343 2024-05-18 17:03:56 -07:00
parent e4dd72bf25
commit 5b83294eaf

View File

@ -52,7 +52,7 @@ const MapWarningWidget = ({ widget }: MapWarningWidgetProps) => {
]),
);
}
}, [inGaze, dispatch, widget.id]);
}, [inGaze, dispatch, widget.id, threatInfoElement]);
const handleInGaze = () => {
if (threatInfoElement) {