File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/offline-transactions/src Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -480,7 +480,10 @@ export class OfflineExecutor {
480480 offlineTransactionId : string ,
481481 restorationTransaction : Transaction ,
482482 ) : void {
483- this . restorationTransactions . set ( offlineTransactionId , restorationTransaction )
483+ this . restorationTransactions . set (
484+ offlineTransactionId ,
485+ restorationTransaction ,
486+ )
484487 }
485488
486489 // Clean up restoration transaction when offline transaction completes or fails
Original file line number Diff line number Diff line change @@ -252,7 +252,9 @@ export class TransactionExecutor {
252252 * Creates internal transactions to hold the mutations so the collection's
253253 * state manager can show optimistic data while waiting for sync
254254 */
255- private restoreOptimisticState ( transactions : Array < OfflineTransaction > ) : void {
255+ private restoreOptimisticState (
256+ transactions : Array < OfflineTransaction > ,
257+ ) : void {
256258 for ( const offlineTx of transactions ) {
257259 if ( offlineTx . mutations . length === 0 ) continue
258260
You can’t perform that action at this time.
0 commit comments