From bc082ec20399418c0475ab0cb4e413a348612581 Mon Sep 17 00:00:00 2001 From: Kieran Date: Tue, 3 Jan 2023 14:18:08 +0000 Subject: [PATCH] Disable notifications (requires service worker) --- src/feed/LoginFeed.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/feed/LoginFeed.js b/src/feed/LoginFeed.js index 8c0f6c55..504f2570 100644 --- a/src/feed/LoginFeed.js +++ b/src/feed/LoginFeed.js @@ -53,8 +53,8 @@ export default function useLoginFeed() { if (Notification.permission === "granted") { for (let nx in notifications.filter(a => (a.created_at * 1000) > readNotifications)) { - let n = new Notification(`New reply!`, { body: nx.content, icon: Nostrich }); - console.log(n); + //let n = new Notification(`New reply!`, { body: nx.content, icon: Nostrich }); + //console.log(n); } } dispatch(addNotifications(notifications));