fix(plugin-chart-country-map): drop unused COMPOSITE_CHOICES constant

After the composite-scoping refactor moved composite choices to a
country-aware mapStateToProps, COMPOSITE_CHOICES was orphaned and
tripped lint-frontend / validate-frontend tsc with TS6133.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Superset Dev
2026-05-14 16:40:58 -07:00
parent d9f4367c09
commit 900fc5da64

View File

@@ -250,11 +250,6 @@ const COMPOSITE_LABELS: Record<string, string> = {
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