[Debug] Get rid of some logs

This commit is contained in:
Alexander Zinchuk 2021-05-11 23:17:52 +03:00
parent 273b980bef
commit d5db8639eb
2 changed files with 0 additions and 8 deletions

View File

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

View File

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