Minor fix in use.js

This commit is contained in:
Talia 2021-12-30 23:23:38 +01:00
parent 47969d4c42
commit 5f955416fe
No known key found for this signature in database
GPG Key ID: AD727AD22802D0D6
1 changed files with 1 additions and 1 deletions

2
use.js
View File

@ -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)
} }
} }