Browse Source

Import default from worldMap geoJson (#30688)

Shruthi 3 years ago
parent
commit
29f7b6905d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      static/app/chartcuterie/config.tsx

+ 2 - 1
static/app/chartcuterie/config.tsx

@@ -8,7 +8,8 @@
  * into the configuration file loaded by the service.
  */
 
-import * as worldMap from 'sentry/data/world.json';
+// eslint-disable-next-line import/no-named-default
+import {default as worldMap} from 'sentry/data/world.json';
 
 import {discoverCharts} from './discover';
 import {ChartcuterieConfig, ChartType, RenderConfig, RenderDescriptor} from './types';