diff options
author | Sebastian <sebasjm@gmail.com> | 2024-01-05 12:29:53 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-01-05 12:29:53 -0300 |
commit | 1b9db448dc3dd4893c484c63cf459d7d9250e693 (patch) | |
tree | 0c6ee58d8518412bbf782f0f43d1f467166bf437 /packages/demobank-ui/src/pages/business/CreateCashout.tsx | |
parent | 5208df82d61091bb5492b215d2acf842e89fc048 (diff) | |
download | wallet-core-1b9db448dc3dd4893c484c63cf459d7d9250e693.tar.xz |
towards new 2fa
Diffstat (limited to 'packages/demobank-ui/src/pages/business/CreateCashout.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/business/CreateCashout.tsx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/demobank-ui/src/pages/business/CreateCashout.tsx b/packages/demobank-ui/src/pages/business/CreateCashout.tsx index 8987accd1..92c80ea38 100644 --- a/packages/demobank-ui/src/pages/business/CreateCashout.tsx +++ b/packages/demobank-ui/src/pages/business/CreateCashout.tsx @@ -212,12 +212,6 @@ export function CreateCashout({ description: resp.detail.hint as TranslatedString, debug: resp.detail, }); - case "no-contact-info": return notify({ - type: "error", - title: i18n.str`Missing contact info before to create the cashout`, - description: resp.detail.hint as TranslatedString, - debug: resp.detail, - }); case "no-enough-balance": return notify({ type: "error", title: i18n.str`The account does not have sufficient funds`, @@ -230,9 +224,9 @@ export function CreateCashout({ description: resp.detail.hint as TranslatedString, debug: resp.detail, }); - case "tan-failed": return notify({ + case "no-cashout-uri": return notify({ type: "error", - title: i18n.str`Sending the confirmation code failed.`, + title: i18n.str`Missing cashout URI in the profile`, description: resp.detail.hint as TranslatedString, debug: resp.detail, }); |