The function is hooked to an unsubscribe button. According to the console, the unsubscription worked fine. I can see the subscription object (to be deleted) and the success message "unsubscribed successfully". However, when I check in the Browser settings, the subscription ist still there and enabled. Is that expected behaviour? Or am I missing something?
`const unsubscribe = async () => { let serviceWorker = await navigator.serviceWorker.ready;
}`
The function is hooked to an unsubscribe button. According to the console, the unsubscription worked fine. I can see the subscription object (to be deleted) and the success message "unsubscribed successfully". However, when I check in the Browser settings, the subscription ist still there and enabled. Is that expected behaviour? Or am I missing something?