more
This commit is contained in:
@@ -42,7 +42,6 @@ const SignupPage = () => {
|
||||
};
|
||||
|
||||
const handleChangePaymentInput = (e, name) => {
|
||||
console.log("e, name", e, name);
|
||||
const newPaymentData = handleFormDataChange(
|
||||
e,
|
||||
name,
|
||||
@@ -62,7 +61,6 @@ const SignupPage = () => {
|
||||
};
|
||||
|
||||
const validatePaymentData = () => {
|
||||
console.log("paymentData", paymentData);
|
||||
const newPaymentData = getValidatedFormData(paymentData, paymentfields);
|
||||
const hasErrors = isFormDataHasErrors(newPaymentData);
|
||||
setPaymentData(newPaymentData);
|
||||
|
||||
@@ -8,7 +8,6 @@ export const paymentfields = {
|
||||
cardLastName: {
|
||||
required: true,
|
||||
label: "Card Last Name",
|
||||
maxLength: 45,
|
||||
type: "cardLastName",
|
||||
},
|
||||
cardNumber: {
|
||||
|
||||
Reference in New Issue
Block a user