From 88d886e43a9d68b4b38ddb3411373cdf20d83356 Mon Sep 17 00:00:00 2001 From: Artem_Blazhko Date: Fri, 29 Nov 2024 17:10:31 +0200 Subject: [PATCH] Reset proxy data before fetching --- src/views/LoanDetails/LoanProxyDetails.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/LoanDetails/LoanProxyDetails.js b/src/views/LoanDetails/LoanProxyDetails.js index de6c20bff..1794c7865 100644 --- a/src/views/LoanDetails/LoanProxyDetails.js +++ b/src/views/LoanDetails/LoanProxyDetails.js @@ -34,6 +34,7 @@ class LoanProxyDetails extends React.Component { componentDidMount() { if (this.props.id) { + this.props.mutator.proxy.reset(); this.props.mutator.proxy.GET() .catch(() => { this.props.showErrorCallout('ui-users.errors.proxyBorrowerNotFound');