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) {