From 59cafec8352bc69c4922f477a00b9c47e721dc77 Mon Sep 17 00:00:00 2001 From: gitwoz <177856586+gitwoz@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:22:00 +0700 Subject: [PATCH] feat(vault): revise copy --- lang/default.json | 6 +++--- lang/en.json | 6 +++--- lang/zh-Hans.json | 6 +++--- lang/zh-Hant.json | 6 +++--- src/components/Dialogs/WithdrawVaultUSDTDialog/index.tsx | 4 +++- src/views/Me/Wallet/Balance/USDT.tsx | 4 ++-- 6 files changed, 17 insertions(+), 15 deletions(-) diff --git a/lang/default.json b/lang/default.json index 8c34d96451..5089cbc419 100644 --- a/lang/default.json +++ b/lang/default.json @@ -275,6 +275,9 @@ "defaultMessage": "Disconnect", "description": "src/components/Dialogs/RemoveSocialLoginDialog/Content.tsx" }, + "2Sgvfr": { + "defaultMessage": "USDT {amount} pending claim" + }, "2W0f9h": { "defaultMessage": "Bio" }, @@ -2459,9 +2462,6 @@ "defaultMessage": "Pending", "description": "src/views/Circle/Settings/ManageInvitation/Invites/index.tsx" }, - "fidQDr": { - "defaultMessage": "{amount} USDT pending claim" - }, "fko+MR": { "defaultMessage": "Retry claiming" }, diff --git a/lang/en.json b/lang/en.json index a22db03108..a85892b8aa 100644 --- a/lang/en.json +++ b/lang/en.json @@ -275,6 +275,9 @@ "defaultMessage": "Disconnect", "description": "src/components/Dialogs/RemoveSocialLoginDialog/Content.tsx" }, + "2Sgvfr": { + "defaultMessage": "USDT {amount} pending claim" + }, "2W0f9h": { "defaultMessage": "Bio" }, @@ -2459,9 +2462,6 @@ "defaultMessage": "Pending", "description": "src/views/Circle/Settings/ManageInvitation/Invites/index.tsx" }, - "fidQDr": { - "defaultMessage": "{amount} USDT pending claim" - }, "fko+MR": { "defaultMessage": "Retry claiming" }, diff --git a/lang/zh-Hans.json b/lang/zh-Hans.json index 8785d72f4a..a37fdfb3ee 100644 --- a/lang/zh-Hans.json +++ b/lang/zh-Hans.json @@ -275,6 +275,9 @@ "defaultMessage": "解绑", "description": "src/components/Dialogs/RemoveSocialLoginDialog/Content.tsx" }, + "2Sgvfr": { + "defaultMessage": "USDT {amount} 待提领" + }, "2W0f9h": { "defaultMessage": "个人简介" }, @@ -2459,9 +2462,6 @@ "defaultMessage": "邀请中", "description": "src/views/Circle/Settings/ManageInvitation/Invites/index.tsx" }, - "fidQDr": { - "defaultMessage": "{amount} USDT 待提领" - }, "fko+MR": { "defaultMessage": "重试提领" }, diff --git a/lang/zh-Hant.json b/lang/zh-Hant.json index ea823b28a0..e863d939d5 100644 --- a/lang/zh-Hant.json +++ b/lang/zh-Hant.json @@ -275,6 +275,9 @@ "defaultMessage": "解綁", "description": "src/components/Dialogs/RemoveSocialLoginDialog/Content.tsx" }, + "2Sgvfr": { + "defaultMessage": "USDT {amount} 待提領" + }, "2W0f9h": { "defaultMessage": "個人簡介" }, @@ -2459,9 +2462,6 @@ "defaultMessage": "邀請中", "description": "src/views/Circle/Settings/ManageInvitation/Invites/index.tsx" }, - "fidQDr": { - "defaultMessage": "{amount} USDT 待提領" - }, "fko+MR": { "defaultMessage": "重試提領" }, diff --git a/src/components/Dialogs/WithdrawVaultUSDTDialog/index.tsx b/src/components/Dialogs/WithdrawVaultUSDTDialog/index.tsx index 274b150a14..e3dbd9cf8f 100644 --- a/src/components/Dialogs/WithdrawVaultUSDTDialog/index.tsx +++ b/src/components/Dialogs/WithdrawVaultUSDTDialog/index.tsx @@ -16,9 +16,11 @@ const DynamicContent = dynamic(() => import('./Content'), { }) const BaseWithdrawVaultUSDTDialog = () => { - const { show, closeDialog } = useDialogSwitch(true) + const { show, openDialog, closeDialog } = useDialogSwitch(true) const { currStep, forward } = useStep('intro') + useEventListener(OPEN_WITHDRAW_VAULT_USDT_DIALOG, openDialog) + return ( { /> ) : ( )