refactor: 🔥 remove unused reference to MisskeyClient

This commit is contained in:
ThatOneCalculator 2023-10-29 14:02:14 -07:00
parent 1c9389ca21
commit b8a85257a0
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -37,7 +37,8 @@ html
localStorage.clear();
message('localStorage cleared.');
const idbPromises = ['MisskeyClient', 'keyval-store'].map((name, i, arr) => new Promise((res, rej) => {
//- Removed 'MisskeyClient' due to seemingly being never referenced
const idbPromises = ['keyval-store'].map((name, i, arr) => new Promise((res, rej) => {
const delidb = indexedDB.deleteDatabase(name);
delidb.onsuccess = () => res(message(`indexedDB "${name}" cleared. (${i + 1}/${arr.length})`));
delidb.onerror = e => rej(e)