This commit is contained in:
Kenneth Jannette
2024-01-19 15:20:12 -06:00
parent a1cdf60a2c
commit e3db6a3eb3
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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"