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