From 8a75f791967d560c467175f6d3b2f5177fd8102a Mon Sep 17 00:00:00 2001 From: oatkiller Date: Mon, 13 Jul 2020 15:51:30 -0400 Subject: [PATCH] code style --- .../public/common/components/events_viewer/index.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx b/x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx index 21a3d5f3ff230..637f1a48143a9 100644 --- a/x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx @@ -179,10 +179,8 @@ const makeMapStateToProps = () => { sort, showCheckboxes, // Used to determine whether the footer should show (since it is hidden if the graph is showing.) - graphEventId: /** `getTimeline` actually returns `TimelineModel | undefined` */ (getTimeline( - state, - id - ) as TimelineModel | undefined)?.graphEventId, + // `getTimeline` actually returns `TimelineModel | undefined` + graphEventId: (getTimeline(state, id) as TimelineModel | undefined)?.graphEventId, }; }; return mapStateToProps;