Skip to content

Commit 8ddc7e3

Browse files
committed
format
1 parent 2d59567 commit 8ddc7e3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/app/src/indexeddb.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ export async function readHeartbeatsFromIndexedDB(
7070
try {
7171
const db = await getDbPromise();
7272
const tx = db.transaction(STORE_NAME);
73-
const result = await tx
74-
.objectStore(STORE_NAME)
75-
.get(computeKey(app));
73+
const result = await tx.objectStore(STORE_NAME).get(computeKey(app));
7674
// We already have the value but tx.done can throw,
7775
// so we need to await it here to catch errors
7876
await tx.done;

0 commit comments

Comments
 (0)