Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] AIOps: Fix comment/prop type for lazy component for change point detection #154893

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions x-pack/plugins/aiops/public/shared_lazy_components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import React, { FC, Suspense } from 'react';
import { EuiErrorBoundary, EuiLoadingContent } from '@elastic/eui';
import type { ExplainLogRateSpikesAppStateProps } from './components/explain_log_rate_spikes';
import type { LogCategorizationAppStateProps } from './components/log_categorization';
import type { ChangePointDetectionAppStateProps } from './components/change_point_detection';

const ExplainLogRateSpikesAppStateLazy = React.lazy(
() => import('./components/explain_log_rate_spikes')
Expand Down Expand Up @@ -45,10 +46,10 @@ export const LogCategorization: FC<LogCategorizationAppStateProps> = (props) =>

const ChangePointDetectionLazy = React.lazy(() => import('./components/change_point_detection'));
/**
* Lazy-wrapped LogCategorizationAppStateProps React component
* @param {LogCategorizationAppStateProps} props - properties specifying the data on which to run the analysis.
* Lazy-wrapped ChangePointDetectionAppStateProps React component
* @param {ChangePointDetectionAppStateProps} props - properties specifying the data on which to run the analysis.
*/
export const ChangePointDetection: FC<LogCategorizationAppStateProps> = (props) => (
export const ChangePointDetection: FC<ChangePointDetectionAppStateProps> = (props) => (
<LazyWrapper>
<ChangePointDetectionLazy {...props} />
</LazyWrapper>
Expand Down