🐛 fix: ui PaymentUSDRate error

This commit is contained in:
MartialBE 2024-06-05 15:16:30 +08:00
parent 03d847fe68
commit 64fa0455a8
No known key found for this signature in database
GPG Key ID: 27C0267EC84B0A5C

View File

@ -151,7 +151,7 @@ const TopupCard = () => {
let total = Number(amount) + Number(calculateFee());
if (selectedPayment && selectedPayment.currency === 'CNY') {
total = parseFloat((total * 7.3).toFixed(2));
total = parseFloat((total * siteInfo.PaymentUSDRate).toFixed(2));
}
return total;
};