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