From e4f6e89ddb993a5394f285c142e41bb007cbd14a Mon Sep 17 00:00:00 2001 From: Dakota Date: Tue, 7 Apr 2020 14:25:45 -0400 Subject: [PATCH] Hotfix: Fixes getJS button crashing app --- client/src/App.js | 1 + 1 file changed, 1 insertion(+) 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