more
This commit is contained in:
@@ -62,7 +62,7 @@ const SignupPage = () => {
|
||||
};
|
||||
|
||||
const validatePaymentData = () => {
|
||||
const newPaymentData = ""; // getValidatedFormData(data, signupfields);
|
||||
const newPaymentData = getValidatedFormData(data, paymentfields);
|
||||
const hasErrors = isFormDataHasErrors(newPaymentData);
|
||||
setPaymentData(newPaymentData);
|
||||
return hasErrors ? null : objectMap(({ value }) => value, newPaymentData);
|
||||
|
||||
Reference in New Issue
Block a user