diff --git a/src/components/RepoCard.astro b/src/components/RepoCard.astro index dc92670f..ae2075cb 100644 --- a/src/components/RepoCard.astro +++ b/src/components/RepoCard.astro @@ -28,7 +28,7 @@ const repoData = await getRepoDetails(name) className="w-4 h-4 inline-block relative" style={{ top: "-1px" }} />{" "} - {parseInt(repoData.stargazers_count).toLocaleString("en-US")} + {parseInt(repoData.stargazers_count || 0).toLocaleString("en-US")}
diff --git a/src/pages/about.astro b/src/pages/about.astro index 5b3f50fd..5a73a432 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -96,7 +96,7 @@ const releaseData = await getReleases()