fix messages from sw not really being acted upon on mainland

このコミットが含まれているのは:
Henry Jameson 2023-11-19 13:57:47 +02:00
コミット 2f90c629b8
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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':