Skip to content

Commit 6ace0c9

Browse files
authored
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
1 parent 012f837 commit 6ace0c9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/scripts/lib/notification-manager.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ class NotificationManager {
2424
width,
2525
height,
2626
})
27-
.catch((reason) => {
28-
log.error('failed to create poupup', reason)
29-
})
3027
}
3128
})
3229
}

0 commit comments

Comments
 (0)