From fd9f7953709ad7577ec6d2c2f163575cd4157922 Mon Sep 17 00:00:00 2001 From: Coen Warmer Date: Mon, 26 Jun 2023 17:16:27 +0200 Subject: [PATCH] Update imports --- x-pack/plugins/observability/public/index.ts | 4 ++-- .../pages/overview/components/sections/ux/ux_section.test.tsx | 2 +- .../pages/overview/components/sections/ux/ux_section.tsx | 2 +- .../observability/public/typings/fetch_overview_data/index.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/observability/public/index.ts b/x-pack/plugins/observability/public/index.ts index b242b4ff43ee8..303257e7ca617 100644 --- a/x-pack/plugins/observability/public/index.ts +++ b/x-pack/plugins/observability/public/index.ts @@ -49,8 +49,8 @@ export { uptimeOverviewLocatorID, } from '../common'; -export type { UXMetrics } from './components/core_web_vitals/core_vitals'; -export { getCoreVitalsComponent } from './components/core_web_vitals/get_core_web_vitals_lazy'; +export type { UXMetrics } from './pages/overview/components/sections/ux/core_web_vitals/core_vitals'; +export { getCoreVitalsComponent } from './pages/overview/components/sections/ux/core_web_vitals/get_core_web_vitals_lazy'; export { DatePicker } from './pages/overview/components/date_picker/date_picker'; export { ObservabilityAlertSearchBar } from './components/alert_search_bar/get_alert_search_bar_lazy'; diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.test.tsx b/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.test.tsx index 2d7141b371f19..576df18ebc847 100644 --- a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.test.tsx +++ b/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.test.tsx @@ -16,7 +16,7 @@ import { LEGEND_GOOD_LABEL, LEGEND_NEEDS_IMPROVEMENT_LABEL, LEGEND_POOR_LABEL, -} from '../../../../../components/core_web_vitals/translations'; +} from './core_web_vitals/translations'; jest.mock('react-router-dom', () => ({ useLocation: () => ({ diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.tsx b/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.tsx index 29a9231f82839..ec6aa5a3a9024 100644 --- a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.tsx +++ b/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.tsx @@ -17,7 +17,7 @@ import { SectionContainer } from '../section_container'; import { getDataHandler } from '../../../../../context/has_data_context/data_handler'; import { useHasData } from '../../../../../hooks/use_has_data'; import { useDatePickerContext } from '../../../../../hooks/use_date_picker_context'; -import CoreVitals from '../../../../../components/core_web_vitals/core_vitals'; +import CoreVitals from './core_web_vitals/core_vitals'; import type { BucketSize } from '../../../helpers/calculate_bucket_size'; interface Props { diff --git a/x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts b/x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts index 8de756af5ebd3..14305e4f7ab91 100644 --- a/x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts +++ b/x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts @@ -6,7 +6,7 @@ */ import type { ObservabilityApp } from '../../../typings/common'; -import type { UXMetrics } from '../../components/core_web_vitals/core_vitals'; +import type { UXMetrics } from '../../pages/overview/components/sections/ux/core_web_vitals/core_vitals'; import { ApmIndicesConfig } from '../../../common/typings'; export interface Stat {