Merge pull request #2528 from XxKingsxX-Pinu/dev

Fixing spelling mistake
This commit is contained in:
hydroflame
2022-01-10 13:26:53 -05:00
committed by GitHub

View File

@ -24,7 +24,7 @@ function getDB(): Promise<IDBObjectStore> {
indexedDbRequest.onsuccess = function (this: IDBRequest<IDBDatabase>) { indexedDbRequest.onsuccess = function (this: IDBRequest<IDBDatabase>) {
const db = this.result; const db = this.result;
if (!db) { if (!db) {
reject("database loadign result was undefined"); reject("database loading result was undefined");
return; return;
} }
resolve(db.transaction(["savestring"], "readwrite").objectStore("savestring")); resolve(db.transaction(["savestring"], "readwrite").objectStore("savestring"));