Skip to content

Commit 3555b2a

Browse files
committed
[queries] Better transaction sync
1 parent 6385abd commit 3555b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export const createQueries = getCreateFunction((store: Store): Queries => {
157157
addPreStoreListener(
158158
fromStore,
159159
queryId,
160-
fromStore.addWillFinishTransactionListener(toStore.startTransaction),
160+
fromStore.addStartTransactionListener(toStore.startTransaction),
161161
fromStore.addDidFinishTransactionListener(() =>
162162
toStore.finishTransaction(),
163163
),

0 commit comments

Comments
 (0)