Skip to content

Commit ca88e20

Browse files
Default to 10.0k for layout shift
1 parent 8d0f985 commit ca88e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function Header() {
1818
}, []);
1919

2020
const formatStarCount = (count: number | null) => {
21-
if (!count) return "9.0k"; // Default to 2.0k if count is null (it can only go up from here)
21+
if (!count) return "10.0k";
2222
if (count >= 1000) {
2323
return `${(count / 1000).toFixed(1)}k`;
2424
}

0 commit comments

Comments
 (0)