Skip to content

Commit

Permalink
[ML] Update imports after elastic#100863
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 committed Jun 2, 2021
1 parent 314dc01 commit 5e81e92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

import React, { FC } from 'react';

const FileDataVisualizerComponent = React.lazy(() => import('../application/file_datavisualizer'));
const FileDataVisualizerComponent = React.lazy(
() => import('../application/file_data_visualizer/file_data_visualizer')
);

export const FileDataVisualizerWrapper: FC = () => {
return (
Expand Down
3 changes: 1 addition & 2 deletions x-pack/plugins/file_data_visualizer/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import type { MapsStartApi } from '../../maps/public';
import type { SecurityPluginSetup } from '../../security/public';
import type { LensPublicStart } from '../../lens/public';
import { getFileDataVisualizerComponent, getIndexDataVisualizerComponent } from './api';
import { getFileDataVisualizerComponent } from './api';
import { getMaxBytesFormatted } from './application/util/get_max_bytes';
import { getMaxBytesFormatted } from './application/common/util/get_max_bytes';
import { registerHomeAddData } from './register_home';

export interface FileDataVisualizerSetupDependencies {
Expand Down

0 comments on commit 5e81e92

Please sign in to comment.