Skip to content

Commit

Permalink
clear the error on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneet-here committed Nov 16, 2022
1 parent e81fab7 commit c5df700
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 c5df700

Please sign in to comment.