diff options
author | Sebastian <sebasjm@gmail.com> | 2023-10-23 15:49:13 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-10-23 15:49:35 -0300 |
commit | c66f06eb73e53a8804b8c2b36ff45972836c633c (patch) | |
tree | 18461a0e29124326ccb70331971d5914f3ff56b3 /packages/demobank-ui/src/pages/business | |
parent | 2512665e9462690162a5bae5fab3337217943269 (diff) | |
download | wallet-core-c66f06eb73e53a8804b8c2b36ff45972836c633c.tar.xz |
update conversion rate info, added test-bank-api in taler harness
Diffstat (limited to 'packages/demobank-ui/src/pages/business')
-rw-r--r-- | packages/demobank-ui/src/pages/business/CreateCashout.tsx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/demobank-ui/src/pages/business/CreateCashout.tsx b/packages/demobank-ui/src/pages/business/CreateCashout.tsx index 5595d3b51..a3a48eed4 100644 --- a/packages/demobank-ui/src/pages/business/CreateCashout.tsx +++ b/packages/demobank-ui/src/pages/business/CreateCashout.tsx @@ -110,14 +110,14 @@ export function CreateCashout({ } } - if (resultRatios.type === "fail") { - switch (resultRatios.case) { - case "not-supported": return <div>cashout operations are not supported</div> - default: assertUnreachable(resultRatios.case) - } - } + // if (resultRatios.type === "fail") { + // switch (resultRatios.case) { + // case "not-supported": return <div>cashout operations are not supported</div> + // default: assertUnreachable(resultRatios.case) + // } + // } - const ratio = resultRatios.body + // const ratio = resultRatios.body const account = { balance: Amounts.parseOrThrow(resultAccount.body.balance.amount), |