From 322b083f680e107a554ec68a9f83be4aa48cb5c9 Mon Sep 17 00:00:00 2001 From: Ulion Date: Tue, 19 Jan 2021 00:48:02 +0800 Subject: [PATCH] Always call external onChange. (#43) --- packages/client/src/withAutomerge.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/withAutomerge.ts b/packages/client/src/withAutomerge.ts index fe3bbaf..78b1f24 100644 --- a/packages/client/src/withAutomerge.ts +++ b/packages/client/src/withAutomerge.ts @@ -74,9 +74,9 @@ const withAutomerge = ( if (!e.isRemote) { AutomergeEditor.applySlateOps(e, docId, operations, cursorData) - - onChange() } + + onChange() } /**