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
+4 -2
View File
@@ -15,13 +15,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 { CLOUDBUILD_ANNOTATION } from './useProjectName';
import { MissingAnnotationEmptyState } from '@backstage/core-components';
/** @public */
export const isCloudbuildAvailable = (entity: Entity) =>