diff --git a/src/components/HedgeLayer/HedgeLayer.tsx b/src/components/HedgeLayer/HedgeLayer.tsx index ee1c29f..a43b8c6 100644 --- a/src/components/HedgeLayer/HedgeLayer.tsx +++ b/src/components/HedgeLayer/HedgeLayer.tsx @@ -19,16 +19,16 @@ export default function HedgeLayer() { geojson={geojson} type="line" insertBeforeLayer="waterway-name" - paint={{ - "line-color": "#4caf50", - "line-width": 6, - "line-opacity": 0.9, - }} options={{ layout: { "line-cap": "round", "line-join": "round", }, + paint: { + "line-color": "#4caf50", + "line-width": 6, + "line-opacity": 0.9, + }, }} /> );