From 94f6b4fb925e1d4eaf510eb790033d0435d02f0a Mon Sep 17 00:00:00 2001 From: Pujan Date: Fri, 27 Oct 2023 18:23:42 +0530 Subject: [PATCH] comment change --- src/pages/settings/Wallet/AddDebitCardPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();