mirror of
https://github.com/kmvan/x-prober.git
synced 2026-04-21 16:59:02 +08:00
fix update version error
This commit is contained in:
@@ -33,7 +33,7 @@ export const HeaderName: FC = observer(() => {
|
||||
const { APP_NAME, APP_URL, APP_VERSION } = pollData;
|
||||
return (
|
||||
<h1 className={styles.main}>
|
||||
{targetVersion && versionCompare(targetVersion, APP_VERSION) < 0 ? (
|
||||
{targetVersion && versionCompare(APP_VERSION, targetVersion) < 0 ? (
|
||||
<UpdaterLink />
|
||||
) : (
|
||||
<HeaderLink href={APP_URL} rel="noreferrer" target="_blank">
|
||||
|
||||
Reference in New Issue
Block a user