couple of type fixes

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-04-17 20:19:10 +02:00
parent 614397a66d
commit 3ac6a716b1
3 changed files with 4 additions and 8 deletions
@@ -32,13 +32,11 @@ import {
import useAsync from 'react-use/esm/useAsync';
import {
catalogApiRef,
CatalogApi,
entityRouteRef,
entityPresentationApiRef,
} from '@backstage/plugin-catalog-react';
import { getCompoundEntityRef } from '@backstage/catalog-model';
import { entityPresentationApiRef } from '@backstage/plugin-catalog-react';
/**
* MyGroupsSidebarItem can be added to your sidebar providing quick access to groups the logged in user is a member of
*
@@ -53,7 +51,7 @@ export const MyGroupsSidebarItem = (props: {
const { singularTitle, pluralTitle, icon, filter } = props;
const identityApi = useApi(identityApiRef);
const catalogApi: CatalogApi = useApi(catalogApiRef);
const catalogApi = useApi(catalogApiRef);
const catalogEntityRoute = useRouteRef(entityRouteRef);
const entityPresentationApi = useApi(entityPresentationApiRef);