From 713dcc1e8dcd6791a0385fd3fc4e0af00af28b31 Mon Sep 17 00:00:00 2001 From: stdavis Date: Fri, 23 Aug 2024 16:18:53 -0600 Subject: [PATCH] fix: get rid of "failed to load basemap" console error from esri js --- src/components/MapContainer.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/MapContainer.tsx b/src/components/MapContainer.tsx index a4db176..73f9232 100644 --- a/src/components/MapContainer.tsx +++ b/src/components/MapContainer.tsx @@ -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,