Skip to content

Commit

Permalink
Merge pull request #12799 from Puneet-here/debitCardError
Browse files Browse the repository at this point in the history
clear the error on refresh
  • Loading branch information
luacmartins authored Nov 17, 2022
2 parents cbb8761 + c5df700 commit 81c0905
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/settings/Payments/AddDebitCardPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class DebitCardPage extends Component {
super(props);

this.validate = this.validate.bind(this);
PaymentMethods.clearDebitCardFormErrorAndSubmit();
}

componentDidUpdate(prevProps) {
Expand Down

0 comments on commit 81c0905

Please sign in to comment.