Skip to content

Commit

Permalink
appease typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
bdougie committed Oct 1, 2022
1 parent 5f5ff7a commit 8d273fc
Show file tree
Hide file tree
Showing 2 changed files with 253 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ const PullRequestOverview: React.FC<PullRequestOverviewProps> = ({ className, op
<div className={`
${churnDirection === "up" ? "text-light-grass-10" : "text-light-red-10"}
font-medium flex items-center gap-x-1 text-base tracking-tight`}>
{churnDirection === "up" ? <ArrowUpIcon size={14} /> : <ArrowDownIcon size={14} />}{Math.round((closed/totalPullRequests)*100) || 0}%

{churnDirection === "up" ? <ArrowUpIcon size={14} /> : <ArrowDownIcon size={14} />}{closed ? Math.round((closed/totalPullRequests)*100) : 0}%
</div>
</div>

Expand Down
252 changes: 252 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d273fc

Please sign in to comment.