File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/firestore/src/local Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,8 @@ export class SimpleDbTransaction {
125
125
// If the browser supports V3 indexedDb, invoke commit() explicitly to
126
126
// speed up index DB processing if the event loop remains blocks.
127
127
const maybeV3IndexedDb = this . transaction as any ;
128
- if ( typeof maybeV3IndexedDb . commit === " function" ) {
129
- throw new Error ( " COMMITTED" ) ;
128
+ if ( typeof maybeV3IndexedDb . commit === ' function' ) {
129
+ throw new Error ( ' COMMITTED' ) ;
130
130
maybeV3IndexedDb . commit ( ) ;
131
131
}
132
132
}
@@ -410,7 +410,7 @@ export class SimpleDb {
410
410
objectStores
411
411
) ;
412
412
const transactionFnResult = transactionFn ( transaction )
413
- . next ( result => {
413
+ . next ( result => {
414
414
transaction . maybeCommit ( ) ;
415
415
return result ;
416
416
} )
You can’t perform that action at this time.
0 commit comments