fix messages from sw not really being acted upon on mainland

neckbeard
Henry Jameson 10 months ago
parent a564fc1a1f
commit 2f90c629b8

@ -88,7 +88,7 @@ export async function initServiceWorker (store) {
navigator.serviceWorker.addEventListener('message', (event) => {
const { dispatch } = store
console.log('SW MESSAGE', event)
const { type, ...rest } = event
const { type, ...rest } = event.data
switch (type) {
case 'notificationClicked':

Loading…
Cancel
Save