Skip to content

Commit ea8ec6c

Browse files
committed
chore: don't open link in same page
1 parent 676f35e commit ea8ec6c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/app/components/issues/collapsible/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const IssueCollapsibleComponent = ({
5656
>
5757
<Link
5858
href={issue.url}
59+
target="_blank"
5960
className=" text-blue-600 underline flex flex-wrap text-left justify-start items-start w-full"
6061
>
6162
{issue.url}
@@ -69,6 +70,7 @@ const IssueCollapsibleComponent = ({
6970
</code>
7071
<Link
7172
href={issue.url}
73+
target="_blank"
7274
className=" text-violet-500 text-[13px] hover:underline flex flex-wrap text-left justify-start items-start w-full"
7375
>
7476
repo: {issue.repository}

src/app/components/pull-request/collapsible/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const PullRequestCollapsibleComponent = ({
5454
>
5555
<Link
5656
href={pullRequest.url}
57+
target="_blank"
5758
className=" text-blue-600 underline flex flex-wrap text-left justify-start items-start w-full"
5859
>
5960
{pullRequest.url}
@@ -80,6 +81,7 @@ const PullRequestCollapsibleComponent = ({
8081
</p>
8182
<Link
8283
href={pullRequest.repoUrl}
84+
target="_blank"
8385
className=" text-violet-500 text-[13px] hover:underline flex flex-wrap text-left justify-start items-start w-full"
8486
>
8587
repo: {pullRequest.repoUrl}

0 commit comments

Comments
 (0)