From 01e02b07885622a7e022596f29f63c7c5a368f32 Mon Sep 17 00:00:00 2001 From: Thomas Neirynck Date: Mon, 27 Apr 2020 18:29:44 -0400 Subject: [PATCH] rename --- .../connected_components/gis_map/{lazy => shim}/index.ts | 0 x-pack/plugins/maps/public/embeddable/map_embeddable.tsx | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) rename x-pack/plugins/maps/public/connected_components/gis_map/{lazy => shim}/index.ts (100%) diff --git a/x-pack/plugins/maps/public/connected_components/gis_map/lazy/index.ts b/x-pack/plugins/maps/public/connected_components/gis_map/shim/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/gis_map/lazy/index.ts rename to x-pack/plugins/maps/public/connected_components/gis_map/shim/index.ts diff --git a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx index dc360babd68863..795b7a37d43d90 100644 --- a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx +++ b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx @@ -27,7 +27,6 @@ import { Query, RefreshInterval, } from '../../../../../src/plugins/data/public'; -// import GisMap from '../connected_components/gis_map/lazy'; import { createMapStore, MapStore } from '../reducers/store'; import { MapSettings } from '../reducers/map'; import { @@ -87,7 +86,7 @@ export interface MapEmbeddableOutput extends EmbeddableOutput { indexPatterns: IIndexPattern[]; } -const GisMap = lazy(() => import('../connected_components/gis_map/lazy')); +const GisMap = lazy(() => import('../connected_components/gis_map/shim')); export class MapEmbeddable extends Embeddable { type = MAP_SAVED_OBJECT_TYPE;