diff --git a/src/lib/components/molecules/StarCount.svelte b/src/lib/components/molecules/StarCount.svelte index f2a059f..c09270e 100644 --- a/src/lib/components/molecules/StarCount.svelte +++ b/src/lib/components/molecules/StarCount.svelte @@ -22,10 +22,10 @@ href="https://github.com/langx/langx/stargazers" > + {#if starCount > 0} + {starCount.toLocaleString('en-US')} + {/if} - {#if starCount > 0} - {starCount} - {/if} diff --git a/src/lib/components/organisms/Header.svelte b/src/lib/components/organisms/Header.svelte index 90a08f0..9ef3aeb 100644 --- a/src/lib/components/organisms/Header.svelte +++ b/src/lib/components/organisms/Header.svelte @@ -13,7 +13,7 @@