Skip to content

Commit

Permalink
array concat does not add in-place.
Browse files Browse the repository at this point in the history
  • Loading branch information
baracudda committed Mar 6, 2024
1 parent 2e3877c commit 7cc8a7c
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 @@ -25,7 +25,7 @@ window.showFlowEditor = (ele, config) => {
}
//<*((==<
if (Array.isArray(config.schemes)) {
SCHEMES.concat(config.schemes);
SCHEMES = SCHEMES.concat(config.schemes);
}

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

0 comments on commit 7cc8a7c

Please sign in to comment.