Skip to content

Commit 7756938

Browse files
committed
sq
1 parent b661452 commit 7756938

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/form-js-viewer/src/render/components/form-fields/JSFunctionField.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ export function JSFunctionField(props) {
9999
// (3) load user code in sandbox
100100
_sandbox.promise.then((sandboxInstance) => {
101101
sandboxInstance
102+
103+
// @ts-ignore
102104
.run(wrappedUserCode)
103105
.then(() => { setSandbox(sandboxInstance); setHasRunLoad(false); });
104106
});

0 commit comments

Comments
 (0)