diff --git a/src/index.js b/src/index.js index 3e5edc09..ae6b3041 100644 --- a/src/index.js +++ b/src/index.js @@ -28,7 +28,7 @@ window.showFlowEditor = (ele, config) => { concatSCHEMES(config.schemes); } - ReactDOM.render(, ele); + return ReactDOM.render(, ele); }; // If you want your app to work offline and load faster, you can change