Fix collapse method

This commit is contained in:
josdejong 2020-06-02 22:40:23 +02:00
parent 3ea589a126
commit 0da0d14b3d
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@
state = syncState(doc, state, [], callback, true)
}
export function collapse (doCollapse = () => false) {
export function collapse (callback = () => false) {
state = syncState(doc, state, [], callback, true)
}