Minor fix in use.js
This commit is contained in:
parent
47969d4c42
commit
5f955416fe
1 changed files with 1 additions and 1 deletions
2
use.js
2
use.js
|
@ -4,7 +4,7 @@ const apply = (func, node) => {
|
||||||
} else if ("then" in func) {
|
} else if ("then" in func) {
|
||||||
func.then(result => apply(result, node))
|
func.then(result => apply(result, node))
|
||||||
} else if ("default" in func) {
|
} else if ("default" in func) {
|
||||||
func.default(node)
|
apply(func.default, node)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue