Merge pull request #20842 from backstage/blam/fix-annotations-staet

Export `MissingAnnotationEmptyState` from `@backstage/plugin-catalog-react` instead
This commit is contained in:
Patrik Oldsberg
2023-11-02 10:33:08 +01:00
committed by GitHub
43 changed files with 373 additions and 137 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) =>