Fix: correct cached version check (#5933)

This commit is contained in:
shamoon
2025-11-04 13:59:35 -08:00
committed by GitHub
parent faa2e6bb36
commit 4a2eeaa8b9

View File

@@ -55,8 +55,7 @@ export default function Version({ disableUpdateCheck = false }) {
</span> </span>
{!validate(version) {!validate(version)
? null ? null
: releaseData && : latestRelease &&
latestRelease &&
compareVersions(latestRelease.tag_name, version) > 0 && ( compareVersions(latestRelease.tag_name, version) > 0 && (
<a <a
href={latestRelease.html_url} href={latestRelease.html_url}