diff --git a/src/components/DataMapState.tsx b/src/components/DataMapState.tsx index 7db38df..0189c43 100644 --- a/src/components/DataMapState.tsx +++ b/src/components/DataMapState.tsx @@ -1,4 +1,4 @@ -import { MouseEventHandler, createRef, useEffect, useState } from 'react' +import { createRef, useEffect, useState } from 'react' import { DEFAULT_BORDER_COLOR, diff --git a/src/components/MapTooltip.tsx b/src/components/MapTooltip.tsx index 18a66ca..ab7c4bd 100644 --- a/src/components/MapTooltip.tsx +++ b/src/components/MapTooltip.tsx @@ -3,13 +3,14 @@ import { StateToolTip } from '../types' function MapTooltip(props: StateToolTip) { const HoverComponent = props.hoverComponent + const e = props.mouseEvent return createPortal( <>