Parcourir la source

fix: 【bcwin网站】充值页面,首充优惠显示彩金奖励,彩金文字错误

Before il y a 8 mois
Parent
commit
1de40f7115

+ 1 - 1
src/app/[locale]/(TabBar)/deposit/DepositData.tsx

@@ -29,7 +29,7 @@ const RewardsText: FC<RewardsProps> = (props) => {
             // 根据coin_type添加后缀
             const suffixes = {
                 1: t("ProfilePage.balance"),
-                2: t("ProfilePage.balance"),
+                2: t("ProfilePage.bonus"),
                 3: t("ProfilePage.free"),
                 4: t("ProfilePage.replay"),
             };

+ 1 - 1
src/app/[locale]/(navbar)/doings/discount/DepositData.tsx

@@ -29,7 +29,7 @@ const RewardsText: FC<RewardsProps> = (props) => {
             // 根据coin_type添加后缀
             const suffixes = {
                 1: t("ProfilePage.balance"),
-                2: t("ProfilePage.balance"),
+                2: t("ProfilePage.bonus"),
                 3: t("ProfilePage.free"),
                 4: t("ProfilePage.replay"),
             };