more
This commit is contained in:
@@ -54,6 +54,13 @@ const SignupPage = () => {
|
|||||||
return hasErrors ? null : objectMap(({ value }) => value, newData);
|
return hasErrors ? null : objectMap(({ value }) => value, newData);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const validatePaymentData = () => {
|
||||||
|
const newPaymentData = ""; // getValidatedFormData(data, signupfields);
|
||||||
|
const hasErrors = isFormDataHasErrors(newPaymentData);
|
||||||
|
setPaymentData(newPaymentData);
|
||||||
|
return hasErrors ? null : objectMap(({ value }) => value, newPaymentData);
|
||||||
|
};
|
||||||
|
|
||||||
async function saveUserData(authId, dataValues) {
|
async function saveUserData(authId, dataValues) {
|
||||||
const appUserId = uuidv4();
|
const appUserId = uuidv4();
|
||||||
const firmId = uuidv4();
|
const firmId = uuidv4();
|
||||||
@@ -102,11 +109,13 @@ const SignupPage = () => {
|
|||||||
if (isBusy) {
|
if (isBusy) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
const dataValues = validateData();
|
const dataValues = validateData();
|
||||||
if (dataValues === null) {
|
if (dataValues === null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
showPaymentModal(true);
|
*/
|
||||||
|
setShowPaymentModal(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSignUp = async (e) => {
|
const handleSignUp = async (e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user