From 64fa0455a88bf05373265839d3090288a8cde86a Mon Sep 17 00:00:00 2001 From: MartialBE Date: Wed, 5 Jun 2024 15:16:30 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20ui=20PaymentUSDRate=20err?= =?UTF-8?q?or?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/Topup/component/TopupCard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/views/Topup/component/TopupCard.js b/web/src/views/Topup/component/TopupCard.js index 6d072c51..395827fa 100644 --- a/web/src/views/Topup/component/TopupCard.js +++ b/web/src/views/Topup/component/TopupCard.js @@ -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; };