1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

notification-manager - remove promise listener

seems chrome changed their API?
MDN suggests that a Promise should be returned but getting `undefined`
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/windows/create

Chrome docs suggest its a callback API lolwut
https://developer.chrome.com/extensions/windows#method-create
This commit is contained in:
kumavis 2017-04-28 16:04:00 -07:00 committed by GitHub
parent 012f837c1d
commit 6ace0c9afb

View File

@ -24,9 +24,6 @@ class NotificationManager {
width,
height,
})
.catch((reason) => {
log.error('failed to create poupup', reason)
})
}
})
}