more
This commit is contained in:
@@ -78,7 +78,7 @@ const PaymentModal = ({
|
||||
<Button
|
||||
disabled={isBusy}
|
||||
className="primary-button"
|
||||
onClick={onConfirm}
|
||||
onClick={handleSignup}
|
||||
labelText={buttonLabelText}
|
||||
/>
|
||||
</Modal.Footer>
|
||||
|
||||
@@ -106,14 +106,13 @@ const SignupPage = () => {
|
||||
}
|
||||
|
||||
const handleSignup = async (e) => {
|
||||
console.log("handleSignup");
|
||||
/*
|
||||
e.preventDefault();
|
||||
if (isBusy) {
|
||||
return;
|
||||
}
|
||||
const dataValues = validateData();
|
||||
if (dataValues === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
setIsBusy(true);
|
||||
try {
|
||||
const userCredential = await createUserWithEmailAndPassword(
|
||||
@@ -130,9 +129,14 @@ const SignupPage = () => {
|
||||
error.message || "Sorry, something went wrong. Please try again."
|
||||
);
|
||||
}
|
||||
*/
|
||||
};
|
||||
|
||||
const handleProceed = () => {
|
||||
const dataValues = validateData();
|
||||
if (dataValues === null) {
|
||||
return;
|
||||
}
|
||||
setShowPaymentModal(true);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user