message: Eliminate EmptyState usage
diff: import { Entity } from '@backstage/catalog-model';
  import {
  configApiRef,
  - EmptyState,
  errorApiRef,
  InfoCard,
  InfoCardVariants,
  + Link,
  Table,
  useApi,
  } from '@backstage/core';
  import { readGitHubIntegrationConfigs } from '@backstage/integration';
  import { useEntity } from '@backstage/plugin-catalog-react';
  -import { Button, Link } from '@material-ui/core';
  import React, { useEffect } from 'react';
  import { generatePath, Link as RouterLink } from 'react-router-dom';
  import { GITHUB_ACTIONS_ANNOTATION } from '../useProjectName';
  import { useWorkflowRuns } from '../useWorkflowRuns';
  import { WorkflowRunStatus } from '../WorkflowRunStatus';
  +import { Typography } from '@material-ui/core';
  const firstLine = (message: string): string => message.split('\n')[0];
  @@ -74,30 +74,26 @@ export const RecentWorkflowRunsCard = ({
  const githubHost = hostname || 'github.com';
  - return !runs.length ? (
  - <InfoCard title="Recent Workflow Runs" variant={variant}>
  - <EmptyState
  - missing="data"
  - title="No Workflow Data"
  - description="This component has GitHub Actions enabled, but no data was found. Have you created any Workflows? Click the button below to create a new Workflow."
  - action={
  - <Button
  - variant="contained"
  - color="primary"
  - href={`https://${githubHost}/${owner}/${repo}/actions/new`}
  - >
  - Create new Workflow
  - </Button>
  - }
  - />
  - </InfoCard>
  - ) : (
  + return (
  <InfoCard
  title="Recent Workflow Runs"
  subheader={branch ? `Branch: ${branch}` : 'All Branches'}
  noPadding
  variant={variant}
  >
  + {!runs.length ? (
  + <div style={{ textAlign: 'center' }}>
  + <Typography variant="body1">
  + This component has GitHub Actions enabled, but no workflows were
  + found.
  + </Typography>
  + <Typography variant="body2">
  + <Link to={`https://${githubHost}/${owner}/${repo}/actions/new`}>
  + Create a new workflow
  + </Link>
  + </Typography>
  + </div>
  + ) : (
  <Table
  isLoading={loading}
  options={{
  @@ -124,6 +120,7 @@ export const RecentWorkflowRunsCard = ({
  ]}
  data={runs}
  />
  + )}
  </InfoCard>
  );
  };
  