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

@@ -26,7 +26,7 @@ module.exports = class MediaController {
ipcRenderer.once('checkForExternalPlayer', function (e, isInstalled) {
state.modal = {
id: 'unsupported-media-modal',
error: error,
error,
externalPlayerInstalled: isInstalled
}
})