diff --git a/src/components/map/current-location.tsx b/src/components/map/current-location.tsx index 793af87..472d502 100644 --- a/src/components/map/current-location.tsx +++ b/src/components/map/current-location.tsx @@ -1,4 +1,8 @@ -import React, { Fragment } from 'react'; +import React + + + +from 'react'; import { useSelector } from 'react-redux'; diff --git a/src/components/map/whiteboard.tsx b/src/components/map/whiteboard.tsx index 3ec4a4e..79c2722 100644 --- a/src/components/map/whiteboard.tsx +++ b/src/components/map/whiteboard.tsx @@ -1,6 +1,6 @@ -import React, { Fragment } from 'react'; +import React from 'react'; import { useSelector } from 'react-redux'; -import { MapState, zoom0 } from '../../store/map'; +import { MapState } from '../../store/map'; interface WhiteboardProps { children?: any; diff --git a/src/components/slippy/wheel-handler.tsx b/src/components/slippy/wheel-handler.tsx index aa67f8f..9bd5fad 100644 --- a/src/components/slippy/wheel-handler.tsx +++ b/src/components/slippy/wheel-handler.tsx @@ -1,7 +1,6 @@ import react, { useState } from 'react'; import { useDispatch } from 'react-redux'; -import _ from 'lodash'; import { mapActions } from '../../store/map'; @@ -14,10 +13,6 @@ const WheelHandler: react.FC = ( ) => { const dispatch = useDispatch(); - interface WheelState { - timestamp: number; - } - const initialWheelState = { timestamp: 0, };