remove redundant return statement in checkUpdates function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user