diff --git a/superset-frontend/plugins/plugin-chart-country-map/src/plugin/controlPanel.tsx b/superset-frontend/plugins/plugin-chart-country-map/src/plugin/controlPanel.tsx index f859f084b7a..793d537b1a9 100644 --- a/superset-frontend/plugins/plugin-chart-country-map/src/plugin/controlPanel.tsx +++ b/superset-frontend/plugins/plugin-chart-country-map/src/plugin/controlPanel.tsx @@ -250,11 +250,6 @@ const COMPOSITE_LABELS: Record = { france_overseas: t('France (with overseas territories)'), }; -const COMPOSITE_CHOICES: Array<[string, string]> = M.composites.map(c => [ - c.id, - COMPOSITE_LABELS[c.id] || c.id, -]); - // Composites grouped by anchor country (ISO_A3). Composites without a // country in the manifest fall into a "global" bucket and remain // available regardless of the country selection — keeps backward