fix lint
This commit is contained in:
parent
b6804a6201
commit
65b086c18d
1 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,7 @@ export async function signout() {
|
|||
//#endregion
|
||||
|
||||
//#region Remove push notification registration
|
||||
const registration = await navigator.serviceWorker.ready
|
||||
|
||||
const registration = await navigator.serviceWorker.ready;
|
||||
const push = await registration.pushManager.getSubscription();
|
||||
if (!push) return;
|
||||
await fetch(`${apiUrl}/sw/unregister`, {
|
||||
|
|
Loading…
Reference in a new issue