From 7de8768176e393f0f23f4149f0de2020e7ceb9cd Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Fri, 19 Jan 2024 18:20:10 -0600 Subject: [PATCH] more --- src/Components/SignupPage/SignupPage.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) => {