more
This commit is contained in:
@@ -41,9 +41,9 @@ const SignupPage = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleChangePaymentInput = (e, name) => {
|
const handleChangePaymentInput = (e, name) => {
|
||||||
const newData = handleFormDataChange(e, name, data, paymentfields);
|
const newPaymentData = handleFormDataChange(e, name, data, paymentfields);
|
||||||
if (newData !== null) {
|
if (newPaymentData !== null) {
|
||||||
setPaymentData(newData);
|
setPaymentData(newPaymentData);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -117,9 +117,9 @@ const SignupPage = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
async function handleStripeAuthorization(paymentDataValues) {
|
async function handleStripeAuthorization(paymentDataValues) {
|
||||||
//Do calls to Stripe API
|
// Do: calls to Stripe API
|
||||||
// if success, return some truthy value or
|
// if success, return some truthy value or
|
||||||
// handleFailure()
|
// handle failure
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleSignUp = async (e) => {
|
const handleSignUp = async (e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user