Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/components/RepositoryContributionsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ export const RepositoryContributionsCard = ({
<div className="rounded p-1 outline outline-1">{totalCount}</div>
</h2>
<div className="max-h-[200px] overflow-auto flex flex-col gap-1 px-1">
{nodes?.map(({ pullRequest: { state, title, id } }: any) => (
{nodes?.map(({ pullRequest: { state, title, id, url } }: any) => (
<div key={id} className="flex justify-between gap-2">
<span>{title}</span>
<a href={url} target="_blank">
{title}
</a>
<span
className={`h-fit rounded p-1 ${
state === "MERGED"
Expand Down
1 change: 1 addition & 0 deletions src/graphql/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ query ($login: String!, $from: DateTime!) {
id
title
state
url
}
}
}
Expand Down