Skip to content

Commit

Permalink
Hotfix: Fixes getJS button crashing app
Browse files Browse the repository at this point in the history
  • Loading branch information
rennemannd committed Apr 7, 2020
1 parent a682278 commit e4f6e89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function App() {
window.Blockly.JavaScript.INFINITE_LOOP_TRAP = null;
let code = window.Blockly.JavaScript.workspaceToCode(workspace);
alert(code)
return(code);
};

// Generates Arduino code from blockly canvas
Expand Down

0 comments on commit e4f6e89

Please sign in to comment.