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
@@ -16,13 +16,15 @@
import React from 'react';
import { Entity } from '@backstage/catalog-model';
import { useEntity } from '@backstage/plugin-catalog-react';
import {
useEntity,
MissingAnnotationEmptyState,
} from '@backstage/plugin-catalog-react';
import { Routes, Route } from 'react-router-dom';
import { buildRouteRef } from '../routes';
import { WorkflowRunDetails } from './WorkflowRunDetails';
import { WorkflowRunsTable } from './WorkflowRunsTable';
import { GITHUB_ACTIONS_ANNOTATION } from './getProjectNameFromEntity';
import { MissingAnnotationEmptyState } from '@backstage/core-components';
/** @public */
export const isGithubActionsAvailable = (entity: Entity) =>