diff options
author | Sebastian <sebasjm@gmail.com> | 2021-09-20 00:18:52 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-09-20 00:18:52 -0300 |
commit | 08bc5c6d8913513ed8e4a2038968fa8f05969e90 (patch) | |
tree | c44c59ff29d734e950bf0fd1fc4c34d1825dc42a /packages/taler-wallet-webextension/src/cta | |
parent | 62b64cb453f6a4fd62c64bdd8e3240d5d7f03ce4 (diff) | |
download | wallet-core-08bc5c6d8913513ed8e4a2038968fa8f05969e90.tar.xz |
fix some feedback from belen
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Withdraw.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw.tsx b/packages/taler-wallet-webextension/src/cta/Withdraw.tsx index 304313a9e..b8b8159f3 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw.tsx +++ b/packages/taler-wallet-webextension/src/cta/Withdraw.tsx @@ -28,7 +28,7 @@ import { CheckboxOutlined } from '../components/CheckboxOutlined'; import { ExchangeXmlTos } from '../components/ExchangeToS'; import { LogoHeader } from '../components/LogoHeader'; import { Part } from '../components/Part'; -import { ButtonDestructive, ButtonSuccess, ButtonWarning, LinkSuccess, TermsOfService, WalletAction } from '../components/styled'; +import { ButtonDestructive, ButtonSuccess, ButtonWarning, LinkSuccess, LinkWarning, TermsOfService, WalletAction } from '../components/styled'; import { acceptWithdrawal, getExchangeWithdrawalInfo, getWithdrawalDetailsForUri, onUpdateNotification, setExchangeTosAccepted } from "../wxApi"; @@ -42,8 +42,6 @@ export interface ViewProps { details: ExchangeWithdrawDetails; amount: string; onWithdraw: () => Promise<void>; - // setCancelled: (b: boolean) => void; - // setSelecting: (b: boolean) => void; onReview: (b: boolean) => void; onAccept: (b: boolean) => void; reviewing: boolean; @@ -171,9 +169,9 @@ export function View({ details, amount, onWithdraw, terms, reviewing, onReview, </ButtonSuccess> } {terms.status === 'notfound' && - <ButtonDestructive upperCased disabled> + <LinkWarning upperCased> {i18n.str`Exchange doesn't have terms of service`} - </ButtonDestructive> + </LinkWarning> } </section> </WalletAction> |