This commit is contained in:
Kenneth Jannette
2024-01-19 17:25:31 -06:00
parent 0345ecbc20
commit 7a9feb4907

View File

@@ -88,7 +88,7 @@ const SignupPage = () => {
} }
} }
const handleSignup = async (e) => { const handleProceedToPayment = (e) => {
e.preventDefault(); e.preventDefault();
if (isBusy) { if (isBusy) {
return; return;
@@ -97,6 +97,11 @@ const SignupPage = () => {
if (dataValues === null) { if (dataValues === null) {
return; return;
} }
};
const handleSignup = async (e) => {
e.preventDefault();
const dataValues = validateData();
setIsBusy(true); setIsBusy(true);
try { try {
const userCredential = await createUserWithEmailAndPassword( const userCredential = await createUserWithEmailAndPassword(