Skip to content

Commit

Permalink
Remove initial location permission ask on report page
Browse files Browse the repository at this point in the history
  • Loading branch information
robertgodfrey committed Nov 10, 2023
1 parent 3fb6638 commit 477853c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions my-app/src/components/map/ClickableMap/ClickableMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ const ClickableMap = ({ setCoordinates }) => {
mapboxAccessToken={process.env.NEXT_PUBLIC_MAPBOX_TOKEN}
mapStyle="mapbox://styles/mapbox/streets-v10"
onClick={onMapClick}
onLoad={() => {
// console.log(geoControlRef.current);
// Uses users location if they allow usage of their location
geoControlRef.current?.trigger();
// setIsMapLoading(false);
}}
>
{marker && (
<Marker
Expand Down

0 comments on commit 477853c

Please sign in to comment.