Skip to content

Commit e27e47e

Browse files
committed
fix(repo): stat typo
#179
1 parent b3689ff commit e27e47e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/repo-stat/fixtures.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const prettyValue = (amount: number | undefined) => {
1414
if (!amount) return "";
1515
if (amount < THOUSAND) return `${amount}`;
1616
if (amount < MILLION) return `${(amount / THOUSAND).toFixed(1)}K`;
17-
return `${(amount / MILLION).toFixed(1)}K`;
17+
return `${(amount / MILLION).toFixed(1)}M`;
1818
};
1919

2020
export type StatName = "watchers" | "stargazers" | "forks";

0 commit comments

Comments
 (0)