Skip to content

Commit ae516cb

Browse files
committed
fix block inputs that were removed being weird
1 parent a0f3071 commit ae516cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/blocks/blocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function register() {
8585
}, (block) => {
8686
let root = block.getRootBlock()
8787
if (!(root.type == `${categoryPrefix}define` && root.blockId_ == block.blockId_)) {
88-
return `()`
88+
return `null`
8989
}
9090

9191
return `args["${block.fieldId_}"]`

0 commit comments

Comments
 (0)