diff --git a/docs/src/components/GitHubCard.astro b/docs/src/components/GitHubCard.astro index 6e9dd74d..7278f4be 100644 --- a/docs/src/components/GitHubCard.astro +++ b/docs/src/components/GitHubCard.astro @@ -22,6 +22,11 @@ export type Props = { let { repo, description, stars } = Astro.props; let url = Astro.props.url ?? `https://github.com/${repo}`; let username = repo.split("/")[0]; + +// some may have deleted their account +let userExists = await fetch(`https://api.github.com/users/${username}`).then( + (res) => res.ok, +); ---