Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Apr 1, 2022
1 parent 69b4b6b commit 76cc235
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/

import React, { lazy, useState } from 'react';
import React, { lazy } from 'react';
import { i18n } from '@kbn/i18n';
import {
EuiHealth,
Expand Down Expand Up @@ -65,7 +65,7 @@ type RuleProps = {
onChangeDuration: (length: number) => void;
durationEpoch?: number;
isLoadingChart?: boolean;
} & Pick<RuleApis, 'enableRule' | 'muteAlertInstance' | 'unmuteAlertInstance'>;
} & Pick<RuleApis, 'muteAlertInstance' | 'unmuteAlertInstance'>;

const EVENT_LOG_LIST_TAB = 'rule_event_log_list';
const ALERT_LIST_TAB = 'rule_alert_list';
Expand All @@ -76,7 +76,6 @@ export function RuleComponent({
ruleType,
readOnly,
ruleSummary,
enableRule,
muteAlertInstance,
unmuteAlertInstance,
requestRefresh,
Expand Down

0 comments on commit 76cc235

Please sign in to comment.