diff options
author | bobzel <zzzman@gmail.com> | 2024-05-16 23:42:12 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-05-16 23:42:12 -0400 |
commit | 99931c4ca423d51555c24533a98e921c83c941e1 (patch) | |
tree | 07baab3cb627eae837c18fb2a6981a746765ec61 /src/client/views/nodes/MapBox/GeocoderControl.tsx | |
parent | a197d8d37e62235bfa59bc8e3bb74c39381c30a4 (diff) | |
parent | 69e286b504c2f1bbef7d489dc675b9e54ef8d983 (diff) |
Merge branch 'restoringEslint' into eleanor-starter
Diffstat (limited to 'src/client/views/nodes/MapBox/GeocoderControl.tsx')
-rw-r--r-- | src/client/views/nodes/MapBox/GeocoderControl.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/client/views/nodes/MapBox/GeocoderControl.tsx b/src/client/views/nodes/MapBox/GeocoderControl.tsx index e4ba51316..e118c57d9 100644 --- a/src/client/views/nodes/MapBox/GeocoderControl.tsx +++ b/src/client/views/nodes/MapBox/GeocoderControl.tsx @@ -3,8 +3,6 @@ // import { ControlPosition, MarkerProps, useControl } from "react-map-gl"; // import '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css' - - // export type GeocoderControlProps = Omit<GeocoderOptions, 'accessToken' | 'mapboxgl' | 'marker'> & { // mapboxAccessToken: string; // marker?: Omit<MarkerProps, 'longitude' | 'latitude'>; @@ -31,7 +29,6 @@ // ctrl.on('results', props.onResults); // ctrl.on('result', evt => { // props.onResult(evt); - // // const {result} = evt; // // const location = // // result && @@ -49,8 +46,6 @@ // position: props.position // } // ); - - // // @ts-ignore (TS2339) private member // if (geocoder._map) { // if (geocoder.getProximity() !== props.proximity && props.proximity !== undefined) { @@ -104,4 +99,4 @@ // onLoading: noop, // onResults: noop, // onError: noop -// };
\ No newline at end of file +// }; |