Skip to content

Commit

Permalink
still fixing the build, merged error
Browse files Browse the repository at this point in the history
  • Loading branch information
bdougie committed Jan 31, 2024
1 parent 7ea15e4 commit f0ff436
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pages/[owner]/[repo]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ const StatsCard = ({ type, status, count, prevMonthCount }: StatsCardProps) => {
const DataLabel = ({ label, type }: { label: string; type: "merged" | "closed" | "open" }) => {
const getColorByType = (type: string) => {
switch (type) {
case "merged":
return "bg-violet-400";
case "closed":
return "bg-red-500";
case "open":
return "bg-green-500";
case "merged":
return "bg-violet-400";
case "closed":
return "bg-red-500";
case "open":
return "bg-green-500";
}
};

Expand Down Expand Up @@ -145,7 +145,7 @@ const OwnerRepo = ({
/>
<StatsCard
type="pr"
status="merged"
status="closed"
count={closedPrs.filter((pr) => pr.pr_is_merged === true).length}
prevMonthCount={prevMonthClosedPrs ? prevMonthClosedPrsMeta.itemCount : undefined}
/>
Expand Down

0 comments on commit f0ff436

Please sign in to comment.