fix: cursor deletion

This commit is contained in:
Eric Maciel 2020-10-27 18:29:36 -04:00
parent f5d51b3444
commit bb04f2d81c

View File

@ -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)