diff --git a/src/Components/SignupPage/SignupPage.js b/src/Components/SignupPage/SignupPage.js index c2c088f..d0a4566 100644 --- a/src/Components/SignupPage/SignupPage.js +++ b/src/Components/SignupPage/SignupPage.js @@ -41,9 +41,9 @@ const SignupPage = () => { }; const handleChangePaymentInput = (e, name) => { - const newData = handleFormDataChange(e, name, data, paymentfields); - if (newData !== null) { - setPaymentData(newData); + const newPaymentData = handleFormDataChange(e, name, data, paymentfields); + if (newPaymentData !== null) { + setPaymentData(newPaymentData); } }; @@ -117,9 +117,9 @@ const SignupPage = () => { }; async function handleStripeAuthorization(paymentDataValues) { - //Do calls to Stripe API + // Do: calls to Stripe API // if success, return some truthy value or - // handleFailure() + // handle failure } const handleSignUp = async (e) => {