Skip to content

Commit

Permalink
Use transaction in external operations (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii authored Sep 25, 2023
1 parent e6e4203 commit 93a3219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Verge/Store/Store.swift
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ open class Store<State: Equatable, Activity>: EventEmitter<_StoreEvent<State, Ac
with: inoutRef.wrapped,
from: inoutRef.traces,
modification: inoutRef.modification ?? .indeterminate,
transaction: .init()
transaction: inoutRef._transaction
)
State.reduce(modifying: &inoutRef, current: intermediate)
}
Expand Down

0 comments on commit 93a3219

Please sign in to comment.