diff --git a/x-pack/plugins/maps/public/classes/sources/setup_sources.ts b/x-pack/plugins/maps/public/classes/sources/setup_sources.ts index 846a51c202bc7..91e2f241ed83b 100644 --- a/x-pack/plugins/maps/public/classes/sources/setup_sources.ts +++ b/x-pack/plugins/maps/public/classes/sources/setup_sources.ts @@ -19,7 +19,7 @@ import { MVTSingleLayerVectorSource } from './mvt_single_layer_vector_source'; import { WMSSource } from './wms_source'; import { XYZTMSSource } from './xyz_tms_source'; -const registered = false; +let registered = false; export function setupSources() { if (registered) {