Merge pull request #8156 from WarlenRodrigues/fixing_link_somponents_usage

Fixed Link components usage. Now, all links use the Backstage's Link c…
This commit is contained in:
Fredrik Adelöw
2021-12-21 08:10:15 +01:00
committed by GitHub
20 changed files with 85 additions and 61 deletions
@@ -24,11 +24,12 @@ import {
Content,
ContentHeader,
ItemCardGrid,
Link,
Progress,
WarningPanel,
} from '@backstage/core-components';
import { useEntityListProvider } from '@backstage/plugin-catalog-react';
import { Link, Typography } from '@material-ui/core';
import { Typography } from '@material-ui/core';
import { TemplateCard } from '../TemplateCard';
export type TemplateListProps = {
@@ -73,7 +74,7 @@ export const TemplateList = ({
{!error && !loading && !entities.length && (
<Typography variant="body2">
No templates found that match your filter. Learn more about{' '}
<Link href="https://backstage.io/docs/features/software-templates/adding-templates">
<Link to="https://backstage.io/docs/features/software-templates/adding-templates">
adding templates
</Link>
.