Skip to content

Commit

Permalink
return the created FlowEditor instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
baracudda committed May 16, 2024
1 parent c4dd1f6 commit 90c409e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ window.showFlowEditor = (ele, config) => {
concatSCHEMES(config.schemes);
}

ReactDOM.render(<FlowEditor config={config} />, ele);
return ReactDOM.render(<FlowEditor config={config} />, ele);
};

// If you want your app to work offline and load faster, you can change
Expand Down

0 comments on commit 90c409e

Please sign in to comment.