diff --git a/src/features/game/components/mobile/mobile-withdraw.tsx b/src/features/game/components/mobile/mobile-withdraw.tsx
index f0a3d91..1f0369f 100644
--- a/src/features/game/components/mobile/mobile-withdraw.tsx
+++ b/src/features/game/components/mobile/mobile-withdraw.tsx
@@ -237,7 +237,7 @@ function InputShell({
onChange={(event) => onChange(event.target.value)}
placeholder={placeholder}
className={cn(
- 'h-design-30 rounded-[calc(var(--design-unit)*5)] border px-design-8 text-design-12',
+ 'h-design-30 rounded-[calc(var(--design-unit)*5)] border px-design-8 !text-design-10 placeholder:!text-design-10',
uppercase && 'uppercase',
error
? 'border-[#B93F44] bg-[rgba(34,13,16,0.78)] text-[#FCEEEE]'
diff --git a/src/hooks/use-withdraw-submit.ts b/src/hooks/use-withdraw-submit.ts
index f48184a..13a0e15 100644
--- a/src/hooks/use-withdraw-submit.ts
+++ b/src/hooks/use-withdraw-submit.ts
@@ -6,8 +6,7 @@ import { notify } from '@/lib/notify'
import type { WithdrawCreateRequestDto } from '@/type'
export function useWithdrawSubmit() {
- const { i18n, t } = useTranslation()
- const locale = i18n.resolvedLanguage ?? i18n.language ?? 'en-US'
+ const { t } = useTranslation()
return useMutation({
mutationFn: (payload: WithdrawCreateRequestDto) => createWithdraw(payload),
@@ -18,29 +17,8 @@ export function useWithdrawSubmit() {
: t('commonUi.toast.requestFailed'),
)
},
- onSuccess: (data) => {
- const formatter = new Intl.NumberFormat(locale, {
- maximumFractionDigits: 2,
- })
-
- notify.success(t('gameDesktop.withdraw.submitSuccess'), {
- description: [
- t('gameDesktop.withdraw.success.orderNo', {
- orderNo: data.order_no,
- }),
- t('gameDesktop.withdraw.success.actualArrivalCoin', {
- amount: formatter.format(data.actual_arrival_coin),
- }),
- t('gameDesktop.withdraw.success.feeCoin', {
- amount: formatter.format(data.fee_coin),
- }),
- t('gameDesktop.withdraw.success.reviewRequired', {
- value: data.risk_review_required
- ? t('commonUi.dialog.yes')
- : t('commonUi.dialog.no'),
- }),
- ].join('\n'),
- })
+ onSuccess: () => {
+ notify.success(t('gameDesktop.withdraw.submitSuccess'))
},
})
}
diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts
index 21a2312..ff33c3c 100644
--- a/src/locales/en-US.ts
+++ b/src/locales/en-US.ts
@@ -606,7 +606,7 @@ export default {
'Transactions between RM10 and RM99.99 will be charged a minimum withdrawal fee of RM 1.',
cancel: 'Cancel',
confirm: TEXT_CONFIRM,
- submitSuccess: 'Withdrawal request submitted',
+ submitSuccess: 'Withdrawal request submitted successfully',
withdrawal: 'Withdrawal',
fields: {
diamondAmount: 'Withdrawal Diamond Amount',
diff --git a/src/locales/ms-MY.ts b/src/locales/ms-MY.ts
index 26b0753..4747d00 100644
--- a/src/locales/ms-MY.ts
+++ b/src/locales/ms-MY.ts
@@ -611,7 +611,7 @@ export default {
'Transaksi antara RM10 dan RM99.99 akan dikenakan yuran pengeluaran minimum RM 1.',
cancel: 'Batal',
confirm: TEXT_CONFIRM,
- submitSuccess: 'Permohonan pengeluaran telah dihantar',
+ submitSuccess: 'Permohonan pengeluaran berjaya dihantar',
withdrawal: 'Pengeluaran',
fields: {
diamondAmount: 'Jumlah Berlian Pengeluaran',
diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts
index 8a4f0bd..b3177a8 100644
--- a/src/locales/zh-CN.ts
+++ b/src/locales/zh-CN.ts
@@ -588,7 +588,7 @@ export default {
feeNotice: 'RM10 - RM99.99 之间的交易将收取最低RM 1的提现手续费',
cancel: '取消',
confirm: TEXT_CONFIRM,
- submitSuccess: '提现申请已提交',
+ submitSuccess: '申请提现成功',
withdrawal: '提现',
fields: {
diamondAmount: '提现钻石数量',
diff --git a/src/modal/mobile/mobile-procedures-modal.tsx b/src/modal/mobile/mobile-procedures-modal.tsx
index d16afe9..f48eb48 100644
--- a/src/modal/mobile/mobile-procedures-modal.tsx
+++ b/src/modal/mobile/mobile-procedures-modal.tsx
@@ -55,13 +55,13 @@ function MobileProceduresModal() {
}
>