* Removed unused imports and props
This commit is contained in:
parent
853dfaedcb
commit
24f9ed1e0e
|
@ -10,7 +10,6 @@ import { History, Location } from 'history';
|
|||
import React, { useState } from 'react';
|
||||
import { useHistory } from 'react-router-dom';
|
||||
import styled from 'styled-components';
|
||||
import { px } from '../../../../../../style/variables';
|
||||
import { Timeline } from '../../../../../shared/charts/Timeline';
|
||||
import { HeightRetainer } from '../../../../../shared/HeightRetainer';
|
||||
import { fromQuery, toQuery } from '../../../../../shared/Links/url_helpers';
|
||||
|
@ -55,10 +54,7 @@ const toggleFlyout = ({
|
|||
});
|
||||
};
|
||||
|
||||
const WaterfallItemsContainer = styled.div<{
|
||||
paddingTop: number;
|
||||
}>`
|
||||
padding-top: ${(props) => px(props.paddingTop)};
|
||||
const WaterfallItemsContainer = styled.div`
|
||||
border-bottom: 1px solid ${({ theme }) => theme.eui.euiColorMediumShade};
|
||||
`;
|
||||
|
||||
|
@ -143,7 +139,7 @@ export function Waterfall({
|
|||
margins={TIMELINE_MARGINS}
|
||||
/>
|
||||
</div>
|
||||
<WaterfallItemsContainer paddingTop={TIMELINE_MARGINS.top}>
|
||||
<WaterfallItemsContainer>
|
||||
{renderItems(waterfall.childrenByParentId)}
|
||||
</WaterfallItemsContainer>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue