Skip to content

Commit 95d390e

Browse files
committed
additional cleanup
1 parent 03a122f commit 95d390e

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

x-pack/plugins/spaces/public/plugin.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { createSpacesFeatureCatalogueEntry } from './create_feature_catalogue_en
1616
import { CopySavedObjectsToSpaceService } from './copy_saved_objects_to_space';
1717
import { AdvancedSettingsService } from './advanced_settings';
1818
import { ManagementService } from './management';
19-
import { SpaceSelector, spaceSelectorApp } from './space_selector';
19+
import { spaceSelectorApp } from './space_selector';
2020

2121
export interface PluginsSetup {
2222
home?: HomePublicPluginSetup;
@@ -106,14 +106,6 @@ export class SpacesPlugin implements Plugin<SpacesPluginSetup, SpacesPluginStart
106106
return {
107107
activeSpace$: this.spacesManager.onActiveSpaceChange$,
108108
getActiveSpace: () => this.spacesManager.getActiveSpace(),
109-
__legacyCompat: {
110-
SpaceSelector: () => (
111-
<core.i18n.Context>
112-
<SpaceSelector spacesManager={this.spacesManager} />
113-
</core.i18n.Context>
114-
),
115-
spacesManager: this.spacesManager,
116-
},
117109
};
118110
}
119111

x-pack/plugins/spaces/public/space_selector/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
export { SpaceSelector } from './space_selector';
87
export { spaceSelectorApp } from './space_selector_app';

0 commit comments

Comments
 (0)