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> </span>
{version === "main" || version === "dev" || version === "nightly" {version === "main" || version === "dev" || version === "nightly"
? null ? null
: releaseData && : releaseData && latestRelease &&
compareVersions(latestRelease.tag_name, version) > 0 && ( compareVersions(latestRelease.tag_name, version) > 0 && (
<a <a
href={latestRelease.html_url} href={latestRelease.html_url}

Loading…
Cancel
Save