Made a few changes
This commit is contained in:
@@ -89,7 +89,7 @@ function CompleteConfirmCredit({ onClose, confirmCredit }) {
|
|||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<div className="h-[205px]"></div>
|
<div className="h-[160px]"></div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ function ThePaymentText({ value, type }) {
|
|||||||
type === "new"
|
type === "new"
|
||||||
? cardDetails.cardNum[0] === "4"
|
? cardDetails.cardNum[0] === "4"
|
||||||
? "Visa"
|
? "Visa"
|
||||||
: value[0] == "5"
|
: cardDetails.cardNum[0] == "5"
|
||||||
? "Master"
|
? "Master"
|
||||||
: "ATM"
|
: "ATM"
|
||||||
: value.description;
|
: value.description;
|
||||||
|
|||||||
@@ -25,15 +25,19 @@ const CreditPopup = ({ details, onClose, situation, walletItem }) => {
|
|||||||
<div className="logout-modal-header w-full flex items-center justify-between lg:p-6 px-[30px] py-[23px] border-b dark:border-[#5356fb29] border-light-purple">
|
<div className="logout-modal-header w-full flex items-center justify-between lg:p-6 px-[30px] py-[23px] border-b dark:border-[#5356fb29] border-light-purple">
|
||||||
<h1 className="text-26 font-bold text-dark-gray dark:text-white tracking-wide">
|
<h1 className="text-26 font-bold text-dark-gray dark:text-white tracking-wide">
|
||||||
{confirmCredit?.show?.acceptConfirm?.state &&
|
{confirmCredit?.show?.acceptConfirm?.state &&
|
||||||
confirmCredit?.data?.internal_return < 0 &&
|
confirmCredit?.data?.internal_return < 0 ? (
|
||||||
"Credit Unsuccessful"}
|
"Credit Unsuccessful"
|
||||||
{confirmCredit?.show?.acceptConfirm?.loader
|
) : (
|
||||||
? "Confirming Credit..."
|
<>
|
||||||
: confirmCredit?.show?.awaitConfirm?.state
|
{confirmCredit?.show?.acceptConfirm?.loader
|
||||||
? "Confirm Credit Add"
|
? "Confirming Credit..."
|
||||||
: confirmCredit?.show?.acceptConfirm?.state
|
: confirmCredit?.show?.awaitConfirm?.state
|
||||||
? "Credit Add Completed"
|
? "Confirm Credit Add"
|
||||||
: "Add Credit"}
|
: confirmCredit?.show?.acceptConfirm?.state
|
||||||
|
? "Credit Add Completed"
|
||||||
|
: "Add Credit"}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</h1>
|
</h1>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
|
|||||||
Reference in New Issue
Block a user