Skip to content

Commit

Permalink
fix(mojaloop/#3031): address conflicting parent/child onChange call (#…
Browse files Browse the repository at this point in the history
…152)

* fix(mojaloop/#3031): address circular parent/child on change call

* chore: deps

* chore: comment
  • Loading branch information
kleyow committed Dec 7, 2022
1 parent 7455b84 commit a24805f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"ajv": "^8.11.2",
"antd": "^5.0.4",
"array-move": "^4.0.0",
"axios": "^1.2.0",
"axios": "^1.2.1",
"bootstrap": "^4.5.3",
"brace": "^0.11.1",
"core-js": "^3.26.1",
Expand Down
5 changes: 4 additions & 1 deletion src/views/outbound/RequestBuilder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,10 @@ class RequestBuilder extends React.Component {
// } else {
// delete this.props.request.params
// }
this.headerBodyBuilderRef.current.updateBodyChanges();
// https://github.com/mojaloop/project/issues/3031
// Commenting this out since it's likely that this is causing issues
// with the JSON editor
// this.headerBodyBuilderRef.current.updateBodyChanges();
this.props.onChange(this.props.request);
};

Expand Down

0 comments on commit a24805f

Please sign in to comment.