Skip to content

Commit

Permalink
comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
Pujan92 committed Oct 27, 2023
1 parent 2d570a7 commit 94f6b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/AddDebitCardPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function DebitCardPage(props) {
const nameOnCardRef = useRef(null);

/**
* Reset the form values on mount and unmount of the component to Make sure we reset the onyx values so old errors don't show if this form is displayed later
* Reset the form values on the mount and unmount so that old errors don't show when this form is displayed again.
*/
useEffect(() => {
PaymentMethods.clearDebitCardFormErrorAndSubmit();
Expand Down

0 comments on commit 94f6b4f

Please sign in to comment.