From af619f87d01c3788637ce2b6d6fea23f1c12df58 Mon Sep 17 00:00:00 2001 From: David Porter Date: Thu, 12 Feb 2026 12:20:26 +1100 Subject: [PATCH] AP-7119 # dynamically import arcgis css from package --- src/components/ArcGISWebMap.tsx | 2 +- src/styles/arcgis-external.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 src/styles/arcgis-external.css diff --git a/src/components/ArcGISWebMap.tsx b/src/components/ArcGISWebMap.tsx index b580817d7..91def746a 100644 --- a/src/components/ArcGISWebMap.tsx +++ b/src/components/ArcGISWebMap.tsx @@ -31,7 +31,7 @@ import MaterialIcon from './MaterialIcon' import useIsPageVisible from '../hooks/useIsPageVisible' import { ArcGISWebMapElementValue } from '@oneblink/types/typescript/arcgis' import { FormElementValueChangeHandler } from '../types/form' -import '../styles/arcgis-external.css' +import '@arcgis/core/assets/esri/themes/light/main.css' import Layer from '@arcgis/core/layers/Layer' type Props = { diff --git a/src/styles/arcgis-external.css b/src/styles/arcgis-external.css deleted file mode 100644 index 7d7b30c86..000000000 --- a/src/styles/arcgis-external.css +++ /dev/null @@ -1 +0,0 @@ -@import url('https://js.arcgis.com/4.29/@arcgis/core/assets/esri/themes/light/main.css'); \ No newline at end of file