Explorar o código

Merge pull request #2111 from feitianbubu/pr/top-up-show-correct-symbol

feat: topUp show correct symbol
Seefs hai 4 meses
pai
achega
47bfea1eae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/src/components/topup/RechargeCard.jsx

+ 1 - 1
web/src/components/topup/RechargeCard.jsx

@@ -447,7 +447,7 @@ const RechargeCard = ({
                                 style={{ margin: '0 0 8px 0' }}
                                 style={{ margin: '0 0 8px 0' }}
                               >
                               >
                                 <Coins size={18} />
                                 <Coins size={18} />
-                                {formatLargeNumber(preset.value)} $
+                                {formatLargeNumber(displayValue)} {symbol}
                                 {hasDiscount && (
                                 {hasDiscount && (
                                   <Tag style={{ marginLeft: 4 }} color='green'>
                                   <Tag style={{ marginLeft: 4 }} color='green'>
                                     {t('折').includes('off')
                                     {t('折').includes('off')