From be856782612cad22c642bbb845471027d7bf069a Mon Sep 17 00:00:00 2001 From: Michael Olorunnisola Date: Wed, 14 Sep 2022 11:41:32 -0400 Subject: [PATCH] cleanup code --- .../components/flyout/bottom_bar/index.tsx | 14 +------------- .../public/timelines/components/flyout/index.tsx | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/x-pack/plugins/security_solution/public/timelines/components/flyout/bottom_bar/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/flyout/bottom_bar/index.tsx index 875401fcd4c47..2f3c8e211a204 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/flyout/bottom_bar/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/flyout/bottom_bar/index.tsx @@ -4,29 +4,17 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - -import { EuiPanel } from '@elastic/eui'; import React from 'react'; -import styled from 'styled-components'; - import { FLYOUT_BUTTON_BAR_CLASS_NAME } from '../../timeline/helpers'; import { FlyoutHeaderPanel } from '../header'; -const DataProvidersPanel = styled(EuiPanel)` - border-radius: 0; - padding: 0 4px 0 4px; - user-select: none; - z-index: ${({ theme }) => theme.eui.euiZLevel9}; -`; - interface FlyoutBottomBarProps { - activeTab: TimelineTabs; showDataproviders: boolean; timelineId: string; } export const FlyoutBottomBar = React.memo( - ({ activeTab, showDataproviders, timelineId }) => { + ({ showDataproviders, timelineId }) => { return (
{showDataproviders && } diff --git a/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx index 2b77901b4f102..db1207cc4c540 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx @@ -122,7 +122,7 @@ const FlyoutComponent: React.FC = ({ timelineId, onAppLeave }) => { - + );