Преглед изворни кода

feat: topUp show correct symbol

feitianbubu пре 4 месеци
родитељ
комит
45ebcd4f11
1 измењених фајлова са 1 додато и 1 уклоњено
  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' }}
                               >
                                 <Coins size={18} />
-                                {formatLargeNumber(preset.value)} $
+                                {formatLargeNumber(displayValue)} {symbol}
                                 {hasDiscount && (
                                   <Tag style={{ marginLeft: 4 }} color='green'>
                                     {t('折').includes('off')