Fixed digits

This commit is contained in:
2023-07-17 12:59:05 +01:00
parent 5d12ab4f62
commit d4472a881a
2 changed files with 2 additions and 3 deletions
@@ -1,7 +1,6 @@
import React from "react";
function CompleteConfirmCredit({ onClose, confirmCredit }) {
console.log(confirmCredit);
const { data } = confirmCredit;
return (
<div className="logout-modal-body w-full flex flex-col items-center">
@@ -223,7 +223,7 @@ function ConfirmAddFund({
amount: amount * 100,
cardnumber: cardNum.replace(/\s/g, ""),
credit_reference,
cvc: String(cvv),
cvc: String(cvv).length === 1 ? `0${cvv}` : String(cvv),
description: address,
exp_month: expirationMonth,
exp_year: expirationYear,
@@ -269,7 +269,7 @@ function ConfirmAddFund({
acceptConfirm: { loader: false },
},
}));
setTimeout(() => onClose, 10000)
setTimeout(() => onClose, 10000);
console.log(error);
}
};