From aa1d0c4790d2068fc119f281fe3e19628166fbc9 Mon Sep 17 00:00:00 2001 From: Erik Escoffier Date: Mon, 18 Sep 2023 10:09:05 +0200 Subject: [PATCH] Removed idSuffix --- .../common/map/style-generators/raster-timeseries.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/scripts/components/common/map/style-generators/raster-timeseries.tsx b/app/scripts/components/common/map/style-generators/raster-timeseries.tsx index 69114fe4a..5f3b7e9a4 100644 --- a/app/scripts/components/common/map/style-generators/raster-timeseries.tsx +++ b/app/scripts/components/common/map/style-generators/raster-timeseries.tsx @@ -45,7 +45,6 @@ export interface RasterTimeseriesProps { bounds?: number[]; onStatusChange?: (result: { status: ActionStatus; id: string }) => void; isHidden?: boolean; - idSuffix?: string; isPositionSet?: boolean; } @@ -71,7 +70,6 @@ export function RasterTimeseries(props: RasterTimeseriesProps) { bounds, onStatusChange, isHidden, - idSuffix = '', isPositionSet } = props; @@ -82,7 +80,7 @@ export function RasterTimeseries(props: RasterTimeseriesProps) { const { updateStyle } = useMapStyle(); const minZoom = zoomExtent?.[0] ?? 0; - const generatorId = 'raster-timeseries' + idSuffix; + const generatorId = 'raster-timeseries' + id; // Status tracking. // A raster timeseries layer has a base layer and may have markers.