This commit is contained in:
Kenneth Jannette
2024-01-19 18:22:35 -06:00
parent 7de8768176
commit 38a988e420
2 changed files with 5 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ const PaymentModal = ({
(names, j) => ( (names, j) => (
<Row key={`row${j}`}> <Row key={`row${j}`}>
{names.map((name, i) => ( {names.map((name, i) => (
<Row key={`${name}${i + fieldsChunkSize * j}`} className="mb-3"> <Col key={`${name}${i + fieldsChunkSize * j}`} className="mb-3">
{console.log("paymentdata", paymentData)} {console.log("paymentdata", paymentData)}
<TextInput <TextInput
name={name} name={name}
@@ -48,7 +48,7 @@ const PaymentModal = ({
values={paymentfields[name].values} values={paymentfields[name].values}
disabled={isBusy} disabled={isBusy}
/> />
</Row> </Col>
))} ))}
</Row> </Row>
) )
@@ -77,7 +77,7 @@ const PaymentModal = ({
disabled={isBusy} disabled={isBusy}
className="primary-button" className="primary-button"
onClick={handleSignup} onClick={handleSignup}
labelText={buttonLabelText} labelText="Signup"
/> />
</Modal.Footer> </Modal.Footer>
</Modal> </Modal>

View File

@@ -106,6 +106,7 @@ const SignupPage = () => {
const handleProceedToPayment = (e) => { const handleProceedToPayment = (e) => {
e.preventDefault(); e.preventDefault();
/*
if (isBusy) { if (isBusy) {
return; return;
} }
@@ -113,6 +114,7 @@ const SignupPage = () => {
if (dataValues === null) { if (dataValues === null) {
return; return;
} }
*/
setShowPaymentModal(true); setShowPaymentModal(true);
}; };