Skip to content

Commit

Permalink
Fix cursor delete (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulion authored Jan 15, 2021
1 parent e415684 commit 24dca9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/automerge-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const AutomergeEditor = {
const doc = e.docSet.getDoc(docId)

const changed = Automerge.change<SyncDoc>(doc, (d: any) => {
delete d.cusors
delete d.cursors
})

e.onCursor && e.onCursor(null)
Expand Down

0 comments on commit 24dca9a

Please sign in to comment.