more
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user