refactor: replace @material-ui Link
Signed-off-by: Dmitry Lobanov <lobanov.dmitry.s@gmail.com>
This commit is contained in:
committed by
Fredrik Adelöw
parent
b77eb63ef8
commit
f905853ad6
@@ -16,13 +16,9 @@
|
||||
|
||||
import React from 'react';
|
||||
import { DateTime } from 'luxon';
|
||||
import {
|
||||
Box,
|
||||
Paper,
|
||||
Typography,
|
||||
CardActionArea,
|
||||
Link,
|
||||
} from '@material-ui/core';
|
||||
|
||||
import { Box, Paper, Typography, CardActionArea } from '@material-ui/core';
|
||||
import { Link } from '@backstage/core-components';
|
||||
import { Assignees } from './Assignees';
|
||||
import { CommentsCount } from './CommentsCount';
|
||||
import Divider from '@material-ui/core/Divider';
|
||||
@@ -63,10 +59,7 @@ export const IssueCard = (props: IssueCardProps) => {
|
||||
<CardActionArea href={url} target="_blank">
|
||||
<Box padding={1}>
|
||||
<Box display="flex" justifyContent="space-between">
|
||||
<Link
|
||||
href={`https://github.com/${repositoryName}/issues`}
|
||||
target="_blank"
|
||||
>
|
||||
<Link to={`https://github.com/${repositoryName}/issues`}>
|
||||
{repositoryName}
|
||||
</Link>
|
||||
<Assignees name={assigneeName} avatar={assigneeAvatar} />
|
||||
|
||||
Reference in New Issue
Block a user