diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx index 8f2e9e2213ba0..b4dd3349ef6be 100644 --- a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx +++ b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx @@ -6,7 +6,7 @@ */ import { AppMountParameters, APP_WRAPPER_CLASS, CoreStart } from '@kbn/core/public'; import { PerformanceContextProvider } from '@kbn/ebt-tools'; -import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common'; +import { EuiThemeProvider } from '@elastic/eui'; import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; import { Storage } from '@kbn/kibana-utils-plugin/public'; import type { LazyObservabilityPageTemplateProps } from '@kbn/observability-shared-plugin/public'; @@ -44,7 +44,6 @@ export function renderApp({ entityClient: EntityClient; }) { const { element, history, theme$ } = appMountParameters; - const isDarkMode = core.theme.getTheme().darkMode; // ensure all divs are .kbnAppWrappers element.classList.add(APP_WRAPPER_CLASS); @@ -80,7 +79,7 @@ export function renderApp({ }} > - +