remove redundant return statement in checkUpdates function

This commit is contained in:
2025-05-22 19:04:45 +03:00
parent bb8ea9a037
commit 64a54dabb8

View File

@@ -66,9 +66,7 @@ function CommonPage() {
}
const checkUpdates = async () => {
return;
const currentVersion = Constants.manifest2?.extra?.expoClient?.version || Constants.manifest?.version;
const currentVersion = Constants.manifest2?.extra?.expoClient?.version;
applicationApi.getVersion('assemblr').then(({latest_version}) => {
if (currentVersion == latest_version) return;