import React, { Fragment } from 'react'; import { useSelector } from 'react-redux'; import { MapState } from '../../store/map'; const CurrentLocation: React.FC<{}> = () => { const scale = useSelector( (state: { map: MapState }) => state.map.whiteboard.scale ); const CurrentLocationState = useSelector( (state: { map: MapState }) => state.map.currentLocation ); return ( ); }; export default CurrentLocation;