more
This commit is contained in:
@@ -28,8 +28,7 @@ const PaymentModal = ({
|
||||
setPaymentdata,
|
||||
}) => {
|
||||
const fieldsChunkSize = 2;
|
||||
console.log("paymentfields", paymentfields);
|
||||
/*
|
||||
|
||||
const ModalForm = () => {
|
||||
return splitEvery(
|
||||
Object.keys(paymentfields).slice(0, -2),
|
||||
@@ -38,6 +37,7 @@ const PaymentModal = ({
|
||||
<Row key={`row${j}`}>
|
||||
{names.map((name, i) => (
|
||||
<Col key={`${name}${i + fieldsChunkSize * j}`} className="mb-3">
|
||||
{console.log("paymentdata", paymentdata)}
|
||||
<TextInput
|
||||
name={name}
|
||||
value={paymentdata[name].value}
|
||||
@@ -58,7 +58,7 @@ const PaymentModal = ({
|
||||
</Row>
|
||||
));
|
||||
};
|
||||
*/
|
||||
|
||||
return (
|
||||
<Modal show="true" onHide={onCancel} size="lg">
|
||||
<Modal.Header closeButton>
|
||||
@@ -66,7 +66,9 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user