We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12bea02 commit 0e92d2fCopy full SHA for 0e92d2f
1 file changed
src/components/blocks/sidebar-1.astro
@@ -124,18 +124,7 @@ const searchGroups = search.items.reduce<
124
return groups
125
}, [])
126
127
-let githubStars = "Stars"
128
-
129
-try {
130
- const response = await fetch(`https://api.github.com/repos/${githubRepo}`)
131
- const data = await response.json()
132
133
- if (response.ok && typeof data.stargazers_count === "number") {
134
- githubStars = new Intl.NumberFormat().format(data.stargazers_count)
135
- }
136
-} catch {
137
- // Keep the fallback label when GitHub is unavailable.
138
-}
+const githubStars = "560+"
139
---
140
141
<SidebarProvider>
0 commit comments