From eb94b763012295d2967530eb29734a3ad9610af7 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 3 Aug 2024 18:38:21 -0600 Subject: [PATCH] Cleanup --- web/public/notifications-worker.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/web/public/notifications-worker.js b/web/public/notifications-worker.js index 6594199d0..db210fe7a 100644 --- a/web/public/notifications-worker.js +++ b/web/public/notifications-worker.js @@ -1,7 +1,6 @@ // Notifications Worker self.addEventListener("push", function (event) { - console.log(`received push at ${new Date()}`) // @ts-expect-error we know this exists if (event.data) { // @ts-expect-error we know this exists @@ -16,10 +15,6 @@ self.addEventListener("push", function (event) { action: "markReviewed", title: "Mark as Reviewed", }, - { - action: "snooze", - title: "Snooze", - }, ]; break; } @@ -55,8 +50,6 @@ self.addEventListener("notificationclick", (event) => { }); } break; - case "snooze": - break; default: // @ts-expect-error we know this exists if (event.notification.data) {