Skip to content

Commit 172ef78

Browse files
Update 6-data-storage/03-indexeddb/article.md
Co-authored-by: Muhammed Zakir <[email protected]>
1 parent d56c49e commit 172ef78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

6-data-storage/03-indexeddb/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ So, in the example above no special call is needed to finish the transaction.
343343

344344
Transactions auto-commit principle has an important side effect. We can't insert an async operation like `fetch`, `setTimeout` in the middle of transaction. IndexedDB will not keep the transaction waiting till these are done.
345345

346-
In the code below `request2` in line `(*)` fails, because the transaction is already committed, and can't make any request in it:
346+
In the code below, `request2` in line `(*)` fails, because the transaction is already committed, and can't make any request in it:
347347

348348
```js
349349
let request1 = books.add(book);

0 commit comments

Comments
 (0)