more
This commit is contained in:
@@ -54,6 +54,13 @@ const SignupPage = () => {
|
||||
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) {
|
||||
const appUserId = uuidv4();
|
||||
const firmId = uuidv4();
|
||||
@@ -102,11 +109,13 @@ const SignupPage = () => {
|
||||
if (isBusy) {
|
||||
return;
|
||||
}
|
||||
/*
|
||||
const dataValues = validateData();
|
||||
if (dataValues === null) {
|
||||
return;
|
||||
}
|
||||
showPaymentModal(true);
|
||||
*/
|
||||
setShowPaymentModal(true);
|
||||
};
|
||||
|
||||
const handleSignUp = async (e) => {
|
||||
|
||||
Reference in New Issue
Block a user