Skip to content

Commit

Permalink
sq
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaiir committed Apr 8, 2024
1 parent b661452 commit 7756938
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ export function JSFunctionField(props) {
// (3) load user code in sandbox
_sandbox.promise.then((sandboxInstance) => {
sandboxInstance

// @ts-ignore
.run(wrappedUserCode)
.then(() => { setSandbox(sandboxInstance); setHasRunLoad(false); });
});
Expand Down

0 comments on commit 7756938

Please sign in to comment.