more
This commit is contained in:
@@ -28,7 +28,8 @@ const PaymentModal = ({
|
||||
setPaymentdata,
|
||||
}) => {
|
||||
const fieldsChunkSize = 2;
|
||||
|
||||
console.log("paymentfields", paymentfields);
|
||||
/*
|
||||
const ModalForm = () => {
|
||||
return splitEvery(
|
||||
Object.keys(paymentfields).slice(0, -2),
|
||||
@@ -57,7 +58,7 @@ const PaymentModal = ({
|
||||
</Row>
|
||||
));
|
||||
};
|
||||
|
||||
*/
|
||||
return (
|
||||
<Modal show="true" onHide={onCancel} size="lg">
|
||||
<Modal.Header closeButton>
|
||||
@@ -65,9 +66,7 @@ const PaymentModal = ({
|
||||
</Modal.Header>
|
||||
<Modal.Body>
|
||||
<span>{modalText}</span>
|
||||
<Form className="signup-form">
|
||||
<ModalForm />
|
||||
</Form>
|
||||
<Form className="signup-form">{/* <ModalForm />*/}</Form>
|
||||
</Modal.Body>
|
||||
<Modal.Footer>
|
||||
<Button
|
||||
|
||||
@@ -273,6 +273,7 @@ const SignupPage = () => {
|
||||
handleChangePaymentInput={handleChangePaymentInput}
|
||||
handleSignup={handleSignup}
|
||||
paymentdata={paymentdata}
|
||||
paymentfields={paymentfields}
|
||||
setPaymentdata={setPaymentdata}
|
||||
buttonLabelText="Signup"
|
||||
modalText="Please enter payment information"
|
||||
|
||||
Reference in New Issue
Block a user