diff --git a/x-pack/legacy/plugins/integrations_manager/public/components/package_list_grid.tsx b/x-pack/legacy/plugins/integrations_manager/public/components/package_list_grid.tsx index edf6d856d8e02..6bfed1bc1420c 100644 --- a/x-pack/legacy/plugins/integrations_manager/public/components/package_list_grid.tsx +++ b/x-pack/legacy/plugins/integrations_manager/public/components/package_list_grid.tsx @@ -5,7 +5,7 @@ */ import React, { Fragment, ReactNode } from 'react'; import { EuiFlexGrid, EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiText } from '@elastic/eui'; -import { PackageList, PackageListItem } from '../../common/types'; +import { PackageList } from '../../common/types'; import { PackageCard, BadgeProps } from './package_card'; type ListProps = { @@ -19,24 +19,10 @@ export function PackageListGrid({ controls, title, list, showInstalledBadge }: L const gridContent = ; return ( - - - - {controlsContent} - {gridContent} - - - - ); -} - -type GridItemProps = PackageListItem & BadgeProps; - -function GridItem(item: GridItemProps) { - return ( - - - + + {controlsContent} + {gridContent} + ); } @@ -68,11 +54,9 @@ function GridColumn({ list, showInstalledBadge }: GridColumnProps) { return ( {list.map(item => ( - + + + ))} ); diff --git a/x-pack/legacy/plugins/integrations_manager/public/screens/home/index.tsx b/x-pack/legacy/plugins/integrations_manager/public/screens/home/index.tsx index 53c63719eb029..2079c55cdf9dd 100644 --- a/x-pack/legacy/plugins/integrations_manager/public/screens/home/index.tsx +++ b/x-pack/legacy/plugins/integrations_manager/public/screens/home/index.tsx @@ -43,7 +43,7 @@ export function Home() { {state.installedPackages.length ? ( - + ) : null} @@ -54,13 +54,9 @@ export function Home() {
+ - - - - {body} - - + {body} );