diff --git a/frontend/web/components/GithubStar.tsx b/frontend/web/components/GithubStar.tsx index c5ed8d76223a..0e22112e0695 100644 --- a/frontend/web/components/GithubStar.tsx +++ b/frontend/web/components/GithubStar.tsx @@ -25,7 +25,9 @@ const GithubStar: FC = ({}) => { fetch('https://api.github.com/repos/flagsmith/flagsmith') .then((res) => res.json()) .then((res) => { - setStars(res.stargazers_count) + if (res.stargazers_count) { + setStars(res.stargazers_count) + } }) .catch(() => {}) }