chore: lint error resolved

Signed-off-by: NIKUNJ LALITKUMAR HUDKA <nikunjhudka123@gmail.com>
This commit is contained in:
NIKUNJ LALITKUMAR HUDKA
2024-05-08 09:32:38 -03:00
parent f57e0314c8
commit f0b2a07084
@@ -19,7 +19,7 @@ import {
CompoundEntityRef,
stringifyEntityRef,
} from '@backstage/catalog-model';
import { useApi, useApp } from '@backstage/core-plugin-api';
import { useApi } from '@backstage/core-plugin-api';
import {
EntityDisplayName,
EntityRefLink,
@@ -75,7 +75,6 @@ export const EntityListComponent = (props: EntityListComponentProps) => {
withLinks = false,
} = props;
const app = useApp();
const classes = useStyles();
const entityPresentationApi = useApi(entityPresentationApiRef);
const [expandedUrls, setExpandedUrls] = useState<string[]>([]);
@@ -134,9 +133,6 @@ export const EntityListComponent = (props: EntityListComponentProps) => {
>
<List component="div" disablePadding dense>
{sortEntities(r.entities).map(entity => {
const Icon = app.getSystemIcon(
`kind:${entity.kind.toLocaleLowerCase('en-US')}`,
);
return (
<ListItem
key={stringifyEntityRef(entity)}