Skip to content

Commit

Permalink
fix comment and prop type for lazy component for change point detection
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Apr 13, 2023
1 parent 045b58f commit 8079aac
Showing 1 changed file with 4 additions and 3 deletions.
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

0 comments on commit 8079aac

Please sign in to comment.