more
This commit is contained in:
@@ -109,20 +109,28 @@ const SignupPage = () => {
|
||||
if (isBusy) {
|
||||
return;
|
||||
}
|
||||
/*
|
||||
|
||||
const dataValues = validateData();
|
||||
if (dataValues === null) {
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
setShowPaymentModal(true);
|
||||
};
|
||||
|
||||
async function handleStripeAuthorization() {}
|
||||
|
||||
const handleSignUp = async (e) => {
|
||||
e.preventDefault();
|
||||
const paymentDataValues = validatePaymentData();
|
||||
if (paymentDataValues === null) {
|
||||
return;
|
||||
}
|
||||
const dataValues = validateData();
|
||||
|
||||
//const paymentSuccess = handleStripeAuthorization(paymentData)
|
||||
if (dataValues === null) {
|
||||
return;
|
||||
}
|
||||
//const paymentSuccess = handleStripeAuthorization(paymentDataValues)
|
||||
setIsBusy(true);
|
||||
try {
|
||||
const userCredential = await createUserWithEmailAndPassword(
|
||||
|
||||
Reference in New Issue
Block a user