diff --git a/openmetadata-ui/src/main/resources/ui/src/components/EntityList/EntityList.tsx b/openmetadata-ui/src/main/resources/ui/src/components/EntityList/EntityList.tsx index dbea5fcc051..51af9674650 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/EntityList/EntityList.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/EntityList/EntityList.tsx @@ -12,7 +12,6 @@ */ import { Button, Card, Typography } from 'antd'; -import { FormattedTableData } from 'Models'; import React, { Fragment, FunctionComponent } from 'react'; import { Link } from 'react-router-dom'; import { EntityReference } from '../../generated/type/entityReference'; @@ -21,14 +20,14 @@ import { getEntityIcon, getEntityLink } from '../../utils/TableUtils'; import Ellipses from '../common/Ellipses/Ellipses'; import { leftPanelAntCardStyle } from '../containers/PageLayout'; interface Prop { - entityList: Array; + entityList: Array; headerText: string | JSX.Element; noDataPlaceholder: JSX.Element; testIDText: string; } interface AntdEntityListProp { - entityList: Array; + entityList: Array; headerText?: string | JSX.Element; headerTextLabel: string; noDataPlaceholder: JSX.Element; @@ -58,12 +57,12 @@ const EntityList: FunctionComponent = ({ )}`} key={index}>
- {getEntityIcon(item.index || item.type || '')} + {getEntityIcon(item.type || '')}