summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main/notification-controller.ts
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/main/notification-controller.ts')
-rw-r--r--gui/src/main/notification-controller.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/src/main/notification-controller.ts b/gui/src/main/notification-controller.ts
index ca0e12888f..c4816e796a 100644
--- a/gui/src/main/notification-controller.ts
+++ b/gui/src/main/notification-controller.ts
@@ -13,7 +13,6 @@ import {
SystemNotification,
SystemNotificationProvider,
} from '../shared/notifications/notification';
-import consumePromise from '../shared/promise';
interface NotificationControllerDelegate {
openApp(): void;
@@ -137,7 +136,7 @@ export default class NotificationController {
private performAction(action?: NotificationAction) {
if (action && action.type === 'open-url') {
- consumePromise(this.notificationControllerDelegate.openLink(action.url, action.withAuth));
+ void this.notificationControllerDelegate.openLink(action.url, action.withAuth);
}
}