Prevent blocking error on GH releases failure

Closes #738
pull/745/head
Michael Shamoon 2 years ago
parent 75455a23e2
commit 5fbc6702bc

@ -48,7 +48,7 @@ export default function Version() {
</span>
{version === "main" || version === "dev" || version === "nightly"
? null
: releaseData &&
: releaseData && latestRelease &&
compareVersions(latestRelease.tag_name, version) > 0 && (
<a
href={latestRelease.html_url}

Loading…
Cancel
Save