1 parent 9a90768 commit 51fe37dCopy full SHA for 51fe37d
1 file changed
src/components/product/GitHubStarHistory.tsx
@@ -160,7 +160,7 @@ export function GitHubStarHistory({ githubUrl }: GitHubStarHistoryProps) {
160
itemStyle={{
161
color: 'var(--color-text-secondary)',
162
}}
163
- formatter={(value: number | undefined) => [
+ formatter={value => [
164
`${value?.toLocaleString() ?? '0'} ${tComponent('githubStarHistory.stars')}`,
165
tComponent('githubStarHistory.stars'),
166
]}
0 commit comments