diff --git a/x-pack/legacy/plugins/maps/public/plugin.ts b/x-pack/legacy/plugins/maps/public/plugin.ts index e0a2797e49426..8b49f81a129ed 100644 --- a/x-pack/legacy/plugins/maps/public/plugin.ts +++ b/x-pack/legacy/plugins/maps/public/plugin.ts @@ -56,7 +56,7 @@ interface MapsPluginStartDependencies { } export const bindSetupCoreAndPlugins = (core: CoreSetup, plugins: any) => { - const { injectedMetadata, http } = core; + const { injectedMetadata } = core; setInjectedVarFunc(injectedMetadata.getInjectedVar); setInjectedVarFunc(core.injectedMetadata.getInjectedVar); };