Skip to content

Commit f5e351f

Browse files
committed
fix(async-storage): coalesce values instead using OR
1 parent fd01fb5 commit f5e351f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/async-storage/src/web-module/IndexedDBStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class IndexedDBStorage {
1515
const result = await Promise.all(
1616
keys.map(async (key) => {
1717
const entry = await store.get(key);
18-
return { key, value: entry || null };
18+
return { key, value: entry ?? null };
1919
})
2020
);
2121

0 commit comments

Comments
 (0)