From 0bfd4523b3408d9c841a1f25fd9ec86e81d6dd8f Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 24 Nov 2021 08:57:26 -0300 Subject: adding tos information in settings and return to manual withdraw when adding an exchange --- .../taler-wallet-webextension/src/cta/Withdraw.tsx | 30 +++++++++------------- 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'packages/taler-wallet-webextension/src/cta/Withdraw.tsx') diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw.tsx b/packages/taler-wallet-webextension/src/cta/Withdraw.tsx index 4ebbe11c6..eead51690 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw.tsx +++ b/packages/taler-wallet-webextension/src/cta/Withdraw.tsx @@ -38,7 +38,6 @@ import { ButtonWarning, LinkSuccess, WalletAction, - WarningText, } from "../components/styled"; import { useAsyncAsHook } from "../hooks/useAsyncAsHook"; import { amountToString, buildTermsOfServiceState, TermsState } from "../utils"; @@ -98,17 +97,19 @@ export function View({ text={amountToString(Amounts.sub(amount, withdrawalFee).amount)} kind="positive" /> - {Amounts.isNonZero(withdrawalFee) && ( - + + + + )} {exchangeBaseUrl && ( @@ -140,13 +141,6 @@ export function View({ )} )} - {terms.status === "notfound" && ( -
- - {i18n.str`Exchange doesn't have terms of service`} - -
- )}