From f2552e514b68db9bbff1819a254941f38dce9b32 Mon Sep 17 00:00:00 2001 From: Alex Cheung Date: Tue, 9 Jan 2024 18:18:38 +0800 Subject: [PATCH] fix locale --- src/pages/Payment/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Payment/index.js b/src/pages/Payment/index.js index 1fdc562..c64bf6e 100644 --- a/src/pages/Payment/index.js +++ b/src/pages/Payment/index.js @@ -47,7 +47,7 @@ const Index = () => { const navigate = useNavigate() const location = useLocation(); - const local = {en:"en_us", zh:"zh_hk", cn:"zh_cn"}; + // const local = {en:"en_us", zh:"zh_hk", cn:"zh_cn"}; const preferpaymentmethods = ['visa', 'mastercard', 'pps', 'creditcard', 'fps']; const [totalAmount, setTotalAmount] = useState(0); const [appIds, setAppIds] = useState([]); @@ -158,7 +158,7 @@ const Index = () => { HttpUtils.post({ url: paymentPath + getAvailablePaymentUrl, params: { - "locale": local.zh, + // "locale": local.zh, "amount": totalAmount, // "eserviceids": [ // "", ""