diff --git a/client/src/App.js b/client/src/App.js index 1547003a..99b9200b 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -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