persist info element as long as the gaze is on the warning icon
This commit is contained in:
parent
e4dd72bf25
commit
5b83294eaf
@ -52,7 +52,7 @@ const MapWarningWidget = ({ widget }: MapWarningWidgetProps) => {
|
||||
]),
|
||||
);
|
||||
}
|
||||
}, [inGaze, dispatch, widget.id]);
|
||||
}, [inGaze, dispatch, widget.id, threatInfoElement]);
|
||||
|
||||
const handleInGaze = () => {
|
||||
if (threatInfoElement) {
|
||||
|
Loading…
Reference in New Issue
Block a user