From f0ff43605005ba91a7ec000f3c49ecef0a16b399 Mon Sep 17 00:00:00 2001 From: Brian 'bdougie' Douglas Date: Tue, 30 Jan 2024 21:06:38 -0800 Subject: [PATCH] still fixing the build, merged error --- pages/[owner]/[repo]/index.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/[owner]/[repo]/index.tsx b/pages/[owner]/[repo]/index.tsx index bcade7b..92fed6b 100644 --- a/pages/[owner]/[repo]/index.tsx +++ b/pages/[owner]/[repo]/index.tsx @@ -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"; } }; @@ -145,7 +145,7 @@ const OwnerRepo = ({ /> pr.pr_is_merged === true).length} prevMonthCount={prevMonthClosedPrs ? prevMonthClosedPrsMeta.itemCount : undefined} />