This commit is contained in:
Kenneth Jannette
2024-01-29 20:56:14 -06:00
parent e84e581d01
commit 37766aef68
2 changed files with 12 additions and 17 deletions

View File

@@ -53,10 +53,6 @@ const PaymentModal = ({
const totalToday = amountToday + extraAccountsPrice;
function handleValidateAndPay() {
handleSignup(totalToday);
}
return (
<Modal show="true" size="lg">
<Modal.Header className="payment-modal-header" closeButton>
@@ -151,7 +147,7 @@ const PaymentModal = ({
<Button
disabled={isBusy}
className="primary-button"
onClick={handleValidateAndPay}
onClick={handleSignup}
labelText="Signup"
/>
</Modal.Footer>