Fied Link components usage. Now, all links use the Backstage's Link component
Signed-off-by: WarlenRodrigues <warlen.cesarrodrigues@gmail.com>
This commit is contained in:
committed by
Fredrik Adelöw
parent
9e18e6b025
commit
22bf2da934
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user