Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
CoenWarmer committed Jun 26, 2023
1 parent 9a267d3 commit fd9f795
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/observability/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: () => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fd9f795

Please sign in to comment.