Skip to content

Commit

Permalink
Merge pull request #202 from opendatasoft/chore/stabilize-style-options
Browse files Browse the repository at this point in the history
fix: destructure poi style options to stabilize render
  • Loading branch information
etienneburdet authored Nov 10, 2023
2 parents 2b6d5a8 + b22eab8 commit db472e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/visualizations/src/components/MapPoi/Map.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
export let data: Async<PoiMapData>;
export let options: PoiMapOptions;
$: style = getMapStyle(options.style);
$: ({ style: styleOptions } = options);
$: style = getMapStyle(styleOptions);
$: sources = getMapSources(data.value?.sources);
$: layers = getMapLayers(data.value?.layers);
$: popupsConfiguration = getPopupsConfiguration(data.value?.layers);
Expand Down

0 comments on commit db472e5

Please sign in to comment.