diff --git a/ogre/src/components/shared/metrics.tsx b/ogre/src/components/shared/metrics.tsx index ba66dbe3..66f2ad59 100644 --- a/ogre/src/components/shared/metrics.tsx +++ b/ogre/src/components/shared/metrics.tsx @@ -13,13 +13,15 @@ interface MetricsProps { issues: number; } +const pluralize = (label: string, n: number) => (`${label}${n === 1 ? "" : "s"}`); + // Display stars, pulls, issues with Lucide icons export function Metrics({ stars, pulls, issues }: MetricsProps) { return ( - - - + + + ); }