diff --git a/src/pages/settings/Wallet/AddDebitCardPage.js b/src/pages/settings/Wallet/AddDebitCardPage.js index 80d1a899a9bb..a3b59c0e7c6a 100644 --- a/src/pages/settings/Wallet/AddDebitCardPage.js +++ b/src/pages/settings/Wallet/AddDebitCardPage.js @@ -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();