Skip to content

Commit

Permalink
fix: get rid of "failed to load basemap" console error from esri js
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Oct 22, 2024
1 parent 4737a36 commit 713dcc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/MapContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ export const MapContainer = ({ onClick }: { onClick?: __esri.ViewImmediateClickE
return;
}

mapComponent.current = new EsriMap({
basemap: {},
});
mapComponent.current = new EsriMap();

mapView.current = new MapView({
container: mapNode.current,
Expand Down

0 comments on commit 713dcc1

Please sign in to comment.