mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-23 19:32:15 +00:00
fix: link to project issue color
This commit is contained in:
parent
0b4ee5bc28
commit
e003eba10c
@ -1,3 +1,5 @@
|
|||||||
|
import { Link } from '@chakra-ui/react';
|
||||||
|
|
||||||
export interface ProjectIssueProps {
|
export interface ProjectIssueProps {
|
||||||
id: number | string;
|
id: number | string;
|
||||||
title?: string;
|
title?: string;
|
||||||
@ -5,13 +7,9 @@ export interface ProjectIssueProps {
|
|||||||
|
|
||||||
export function ProjectIssue({ id, title }: ProjectIssueProps) {
|
export function ProjectIssue({ id, title }: ProjectIssueProps) {
|
||||||
return (
|
return (
|
||||||
<a
|
<Link isExternal target="_blank" href={`https://git.unlock-music.dev/um/um-react/issues/${id}`}>
|
||||||
rel="noopener noreferrer nofollow"
|
|
||||||
target="_blank"
|
|
||||||
href={`https://git.unlock-music.dev/um/um-react/issues/${id}`}
|
|
||||||
>
|
|
||||||
{`#${id}`}
|
{`#${id}`}
|
||||||
{title && ` - ${title}`}
|
{title && ` - ${title}`}
|
||||||
</a>
|
</Link>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user