Skip to content

Commit

Permalink
Reset proxy data before fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-blazhko committed Nov 29, 2024
1 parent e070325 commit 88d886e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/LoanDetails/LoanProxyDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class LoanProxyDetails extends React.Component {

componentDidMount() {
if (this.props.id) {
this.props.mutator.proxy.reset();

Check failure on line 37 in src/views/LoanDetails/LoanProxyDetails.js

View workflow job for this annotation

GitHub Actions / build-npm

'mutator.proxy.reset' is missing in props validation
this.props.mutator.proxy.GET()
.catch(() => {
this.props.showErrorCallout('ui-users.errors.proxyBorrowerNotFound');
Expand Down

0 comments on commit 88d886e

Please sign in to comment.