From 4e2f120ab5936da958876dda7d7192661cdb5a93 Mon Sep 17 00:00:00 2001 From: Ebube Date: Thu, 13 Jul 2023 23:12:29 +0100 Subject: [PATCH] Few changes --- src/components/MyWallet/AddFundDollars.jsx | 3 +- src/components/MyWallet/AddFundPop.jsx | 2 +- src/components/MyWallet/ConfirmAddFund.jsx | 36 +++++++++++++--------- 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/src/components/MyWallet/AddFundDollars.jsx b/src/components/MyWallet/AddFundDollars.jsx index 6705d25..65343c6 100644 --- a/src/components/MyWallet/AddFundDollars.jsx +++ b/src/components/MyWallet/AddFundDollars.jsx @@ -103,6 +103,7 @@ function AddFundDollars(props) { amount: Number(props.input), currency: props.currency, card: prevCardDetails["payment-card"], + cardType: "prev", }; return setTimeout(() => { @@ -132,7 +133,7 @@ function AddFundDollars(props) { }); }, []); - const handleClose = props.onClose + const handleClose = props.onClose; return ( <> diff --git a/src/components/MyWallet/AddFundPop.jsx b/src/components/MyWallet/AddFundPop.jsx index fda5714..e8566f5 100644 --- a/src/components/MyWallet/AddFundPop.jsx +++ b/src/components/MyWallet/AddFundPop.jsx @@ -118,7 +118,7 @@ function AddFundPop({ _payment, input, setInput, onClose, setConfirmCredit }) {