Skip to content

Commit 9135ccb

Browse files
committed
Fix type issues
1 parent 7c61bfa commit 9135ccb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x-pack/plugins/monitoring/public/alerts/lib/security_toasts.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import React from 'react';
88
import { i18n } from '@kbn/i18n';
99
import { FormattedMessage } from '@kbn/i18n/react';
10-
import { EuiSpacer, EuiLink, EuiCode, EuiText } from '@elastic/eui';
10+
import { EuiSpacer, EuiLink } from '@elastic/eui';
1111
import { Legacy } from '../../legacy_shims';
1212
import { toMountPoint } from '../../../../../../src/plugins/kibana_react/public';
1313

@@ -49,7 +49,6 @@ const showTlsAndEncryptionError = () => {
4949
};
5050

5151
export const showSecurityToast = (alertingHealth: AlertingFrameworkHealth) => {
52-
const { isSufficientlySecure, hasPermanentEncryptionKey } = alertingHealth;
5352
if (
5453
Array.isArray(alertingHealth) ||
5554
(!alertingHealth.hasOwnProperty('isSufficientlySecure') &&

0 commit comments

Comments
 (0)