Skip to content

Commit

Permalink
fix: await clear table
Browse files Browse the repository at this point in the history
  • Loading branch information
isordo committed Dec 4, 2023
1 parent 3a3b5ff commit 9beb682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-core/src/storage/WCStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class WCStorage {

async resetState() {
if (await IndexedDBStorage.doesDatabaseExists()) {
this.indexedDB.clearTable()
await this.indexedDB.clearTable()
return
}

Expand Down

0 comments on commit 9beb682

Please sign in to comment.