From 65b086c18d71922cb53b49b4a7e0b3e28859e1b7 Mon Sep 17 00:00:00 2001 From: tamaina Date: Thu, 5 Aug 2021 12:50:36 +0900 Subject: [PATCH 1/3] fix lint --- src/client/account.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/account.ts b/src/client/account.ts index bee6d09ada..cf52c4d828 100644 --- a/src/client/account.ts +++ b/src/client/account.ts @@ -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`, { From 2d996f2c14a813edc2faf331a2d82876a88e0325 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 16 Aug 2021 13:29:38 +0900 Subject: [PATCH 2/3] fix lint --- src/client/scripts/idb-proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/scripts/idb-proxy.ts b/src/client/scripts/idb-proxy.ts index 23c7ee559d..21c4dcff65 100644 --- a/src/client/scripts/idb-proxy.ts +++ b/src/client/scripts/idb-proxy.ts @@ -13,7 +13,7 @@ let idbAvailable = typeof window !== 'undefined' ? !!window.indexedDB : true; if (idbAvailable) { try { - await createStore('keyval-store', 'keyval') + await createStore('keyval-store', 'keyval'); } catch (e) { console.error('idb open error', e); idbAvailable = false; From 2beb3551ec393c004011e9705df489227b6a917b Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 20 Aug 2021 14:25:54 +0900 Subject: [PATCH 3/3] add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 159de1dea4..88dc308f0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ### Improvements - 依存関係の更新 +- localStorageのaccountsはindexedDBで保持するように ### Bugfixes - チャンネルを作成しているとアカウントを削除できないのを修正