From 2df4376546795d9862b0d1061a5dd23253d98700 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 29 Mar 2024 18:18:06 +0000 Subject: [PATCH] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- .../timeline_actions/use_investigate_in_timeline.tsx | 7 ++++++- .../public/timelines/components/open_timeline/helpers.ts | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/use_investigate_in_timeline.tsx b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/use_investigate_in_timeline.tsx index be65aeb78d989..0cbd2daa58221 100644 --- a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/use_investigate_in_timeline.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/use_investigate_in_timeline.tsx @@ -168,7 +168,12 @@ export const useInvestigateInTimeline = ({ ruleNote, }); }, - [updateTimeline, updateTimelineIsLoading, clearActiveTimeline, unifiedComponentsInTimelineEnabled] + [ + updateTimeline, + updateTimelineIsLoading, + clearActiveTimeline, + unifiedComponentsInTimelineEnabled, + ] ); const investigateInTimelineAlertClick = useCallback(async () => { diff --git a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.ts b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.ts index 50ec27d5ee22f..835862c04ced8 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.ts +++ b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.ts @@ -374,7 +374,7 @@ export const useQueryTimelineById = () => { timelineToOpen, duplicate, timelineType, - unifiedComponentsInTimelineEnabled, + unifiedComponentsInTimelineEnabled ); if (onOpenTimeline != null) {