mirror of
https://github.com/cudr/slate-collaborative.git
synced 2026-03-02 03:40:18 +00:00
feat: extract cursor component
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user