fix: link to project issue color
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ab6f9e155d
commit
0bd52157c4
@ -1,3 +1,5 @@
|
||||
import { Link } from '@chakra-ui/react';
|
||||
|
||||
export interface ProjectIssueProps {
|
||||
id: number | string;
|
||||
title?: string;
|
||||
@ -5,13 +7,9 @@ export interface ProjectIssueProps {
|
||||
|
||||
export function ProjectIssue({ id, title }: ProjectIssueProps) {
|
||||
return (
|
||||
<a
|
||||
rel="noopener noreferrer nofollow"
|
||||
target="_blank"
|
||||
href={`https://git.unlock-music.dev/um/um-react/issues/${id}`}
|
||||
>
|
||||
<Link isExternal target="_blank" href={`https://git.unlock-music.dev/um/um-react/issues/${id}`}>
|
||||
{`#${id}`}
|
||||
{title && ` - ${title}`}
|
||||
</a>
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user