Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 9f93ea6

Browse files
authored
Add CML repo to stars query (#363)
1 parent a4b9c90 commit 9f93ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gatsby/hooks/stars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function useStars(): number | null {
1818
// Run an IIFE to update from the server on the client side.
1919
useEffect(() => {
2020
;(async (): Promise<void> => {
21-
const res = await fetch(`/api/github/stars`)
21+
const res = await fetch(`/api/github/stars?repo=cml`)
2222
if (res.status === 200) {
2323
const json = await res.json()
2424
setStars(json.stars)

0 commit comments

Comments
 (0)