diff --git a/src/serviceWorker/pushNotification.ts b/src/serviceWorker/pushNotification.ts index 1e03b76b..9e545b26 100644 --- a/src/serviceWorker/pushNotification.ts +++ b/src/serviceWorker/pushNotification.ts @@ -147,10 +147,6 @@ export function handleNotificationClick(e: NotificationEvent) { } export function handleClientMessage(e: ExtendableMessageEvent) { - if (DEBUG) { - // eslint-disable-next-line no-console - console.log('[SW] New message from client', e); - } if (!e.data) return; const source = e.source as WindowClient; if (e.data.type === 'clientReady') { diff --git a/src/util/setupServiceWorker.ts b/src/util/setupServiceWorker.ts index 1d96c7a6..afe1b007 100644 --- a/src/util/setupServiceWorker.ts +++ b/src/util/setupServiceWorker.ts @@ -13,10 +13,6 @@ type WorkerAction = { function handleWorkerMessage(e: MessageEvent) { const action:WorkerAction = e.data; - if (DEBUG) { - // eslint-disable-next-line no-console - console.log('[SW] New action from service worker', action); - } if (!action.type) return; const dispatch = getDispatch(); switch (action.type) {