Skip to content

Commit

Permalink
Remove beta tag from process ancestry insight component
Browse files Browse the repository at this point in the history
  • Loading branch information
kqualters-elastic committed Feb 23, 2023
1 parent 0b9aacc commit 7c716da
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import React, { useMemo, useCallback, useEffect, useState } from 'react';
import { EuiBetaBadge, EuiSpacer, EuiLoadingSpinner } from '@elastic/eui';
import { EuiSpacer, EuiLoadingSpinner } from '@elastic/eui';

import type { Filter } from '@kbn/es-query';
import { isActiveTimeline } from '../../../../helpers';
Expand All @@ -25,7 +25,6 @@ import {
PROCESS_ANCESTRY_ERROR,
PROCESS_ANCESTRY_FILTER,
} from './translations';
import { BETA } from '../../../translations';

interface Props {
data: TimelineEventsDetailsItem;
Expand Down Expand Up @@ -102,8 +101,6 @@ export const RelatedAlertsByProcessAncestry = React.memo<Props>(
);
}, [showContent, cache.alertIds, data, index, originalDocumentId, eventId, scopeId]);

const betaBadge = useMemo(() => <EuiBetaBadge size="s" label={BETA} color="subdued" />, []);

return (
<InsightAccordion
prefix="RelatedAlertsByProcessAncestry"
Expand All @@ -116,7 +113,6 @@ export const RelatedAlertsByProcessAncestry = React.memo<Props>(
}
renderContent={renderContent}
onToggle={onToggle}
extraAction={betaBadge}
/>
);
}
Expand Down

0 comments on commit 7c716da

Please sign in to comment.