Digits Fixed and SignOut text variable

This commit is contained in:
2023-07-17 15:52:28 +01:00
parent 42e80c7a11
commit 8530b2d1a0
9 changed files with 93 additions and 78 deletions
@@ -382,7 +382,11 @@ function AddFundDollars(props) {
expireMonth.map((item, index) => (
<option
key={index}
value={item.value}
value={
Number(item.value) < 10
? "0" + item.value
: item.value
}
>
{item.name}
</option>
@@ -9,7 +9,12 @@ function CompleteConfirmCredit({ onClose, confirmCredit }) {
<div className="add-fund w-full bg-white dark:bg-dark-white rounded-2xl">
<div className="px-4 md:p-8 py-4 add-fund-info">
<div className="field w-full mb-3 min-h-[45px]">
<div className="flex flex-col gap-4">
<div
className={`flex flex-col gap-4 ${
data?.result !== "Charge success" &&
"h-[328px] items-center justify-center"
}`}
>
{/* Success Icon for now */}
<div className="flex items-center w-full justify-center">
{data?.result == "Charge success" ? (
@@ -87,9 +92,7 @@ function CompleteConfirmCredit({ onClose, confirmCredit }) {
</span>
</div>
</>
) : (
<div className="h-[160px]"></div>
)}
) : null}
</div>
</div>
</div>
@@ -223,7 +223,7 @@ function ConfirmAddFund({
amount: amount * 100,
cardnumber: cardNum.replace(/\s/g, ""),
credit_reference,
cvc: String(cvv).length === 1 ? `0${cvv}` : String(cvv),
cvc: cvv,
description: address,
exp_month: expirationMonth,
exp_year: expirationYear,