refactor(web): simplify GitHub stars fallback

This commit is contained in:
germondai
2026-07-26 15:12:09 +02:00
parent d0fd300745
commit 6d49011114
+1 -1
View File
@@ -12,7 +12,7 @@ export function useGithubStars() {
if (typeof n !== "number") return
stars.value = n >= 1000 ? `${(n / 1000).toFixed(1)}k` : String(n)
} catch {
// stays null — GitHub link still renders without the count
// The GitHub link still renders without the count.
}
})