From 76cc2352b7f33e0763138b98799c1967bc7afff8 Mon Sep 17 00:00:00 2001 From: Xavier Mouligneau Date: Fri, 1 Apr 2022 17:58:16 -0400 Subject: [PATCH] remove dead code --- .../application/sections/rule_details/components/rule.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx index b6b46057f8981..3076076ac6d91 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { lazy, useState } from 'react'; +import React, { lazy } from 'react'; import { i18n } from '@kbn/i18n'; import { EuiHealth, @@ -65,7 +65,7 @@ type RuleProps = { onChangeDuration: (length: number) => void; durationEpoch?: number; isLoadingChart?: boolean; -} & Pick; +} & Pick; const EVENT_LOG_LIST_TAB = 'rule_event_log_list'; const ALERT_LIST_TAB = 'rule_alert_list'; @@ -76,7 +76,6 @@ export function RuleComponent({ ruleType, readOnly, ruleSummary, - enableRule, muteAlertInstance, unmuteAlertInstance, requestRefresh,