We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3689ff commit e27e47eCopy full SHA for e27e47e
src/features/repo-stat/fixtures.tsx
@@ -14,7 +14,7 @@ export const prettyValue = (amount: number | undefined) => {
14
if (!amount) return "";
15
if (amount < THOUSAND) return `${amount}`;
16
if (amount < MILLION) return `${(amount / THOUSAND).toFixed(1)}K`;
17
- return `${(amount / MILLION).toFixed(1)}K`;
+ return `${(amount / MILLION).toFixed(1)}M`;
18
};
19
20
export type StatName = "watchers" | "stargazers" | "forks";
0 commit comments