diff --git a/use.js b/use.js index 5d02345..4598fc6 100644 --- a/use.js +++ b/use.js @@ -4,7 +4,7 @@ const apply = (func, node) => { } else if ("then" in func) { func.then(result => apply(result, node)) } else if ("default" in func) { - func.default(node) + apply(func.default, node) } }