🐛 fix: ui PaymentUSDRate error
This commit is contained in:
parent
03d847fe68
commit
64fa0455a8
@ -151,7 +151,7 @@ const TopupCard = () => {
|
|||||||
|
|
||||||
let total = Number(amount) + Number(calculateFee());
|
let total = Number(amount) + Number(calculateFee());
|
||||||
if (selectedPayment && selectedPayment.currency === 'CNY') {
|
if (selectedPayment && selectedPayment.currency === 'CNY') {
|
||||||
total = parseFloat((total * 7.3).toFixed(2));
|
total = parseFloat((total * siteInfo.PaymentUSDRate).toFixed(2));
|
||||||
}
|
}
|
||||||
return total;
|
return total;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user