chore: change usage of the component

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-10-26 18:37:05 +02:00
parent 6c357184e2
commit 1c8b7a4b17
32 changed files with 124 additions and 81 deletions
@@ -17,7 +17,10 @@
import React from 'react';
import useAsyncRetry from 'react-use/lib/useAsyncRetry';
import { GithubDeployment, githubDeploymentsApiRef } from '../api';
import { useEntity } from '@backstage/plugin-catalog-react';
import {
useEntity,
MissingAnnotationEmptyState,
} from '@backstage/plugin-catalog-react';
import {
GITHUB_PROJECT_SLUG_ANNOTATION,
isGithubDeploymentsAvailable,
@@ -28,11 +31,7 @@ import {
ANNOTATION_SOURCE_LOCATION,
} from '@backstage/catalog-model';
import {
MissingAnnotationEmptyState,
ResponseErrorPanel,
TableColumn,
} from '@backstage/core-components';
import { ResponseErrorPanel, TableColumn } from '@backstage/core-components';
import { useApi } from '@backstage/core-plugin-api';
const GithubDeploymentsComponent = ({