Use object shorthand for properties

This commit is contained in:
Linus Unnebäck
2020-04-26 15:14:36 +01:00
parent cf0cf79440
commit 81b3d64f42
12 changed files with 25 additions and 25 deletions

View File

@@ -13,7 +13,7 @@ module.exports = class UpdateController {
console.log('new version skipped by user: v' + version)
return
}
this.state.modal = { id: 'update-available-modal', version: version }
this.state.modal = { id: 'update-available-modal', version }
}
// Don't show the modal again until the next version