Skip to content

Commit f7e17da

Browse files
fix hydration
1 parent 20eb69b commit f7e17da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/OpenSourceStats.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ const StableCounter = ({
1919
Array(value?.toString().length ?? 1)
2020
.fill('8')
2121
.join('')
22-
).toLocaleString()
22+
)
23+
// TODO don't use locale formatting since it can cause a hydration mismatch
24+
//.toLocaleString()
2325

2426
return (
2527
<>

0 commit comments

Comments
 (0)