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
@@ -14,7 +14,8 @@
* limitations under the License.
*/
import { Grid, Typography, Link } from '@material-ui/core';
import { Link } from '@backstage/core-components';
import { Grid, Typography } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
import React, { ReactNode } from 'react';
@@ -62,7 +63,7 @@ export const RatingCard = ({
const classes = useStyles();
return (
<Link href={link} color="inherit" underline="none">
<Link to={link} color="inherit" underline="none">
<Grid item className={classes.root}>
<Grid item className={classes.upper}>
<Grid item className={classes.left}>