feat: extract cursor component

This commit is contained in:
cudr
2019-10-14 00:49:28 +03:00
parent 0ceb38bbfd
commit 21a4a7d99a
14 changed files with 105 additions and 104 deletions

View File

@@ -30,9 +30,7 @@ const toSlateOp = (ops: Automerge.Diff[], doc) => {
[]
])
const res = defer.flatMap(op => op(tempTree, doc)).filter(op => op)
return res
return defer.flatMap(op => op(tempTree, doc)).filter(op => op)
}
export { toSlateOp }