diff options
author | Sebastian <sebasjm@gmail.com> | 2021-10-13 09:54:18 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-10-13 09:54:18 -0300 |
commit | 021d508337490d25f6d7293bf0deadbb5f298f8c (patch) | |
tree | 718c87de5a298a024bf8c740ff7da3ce2ef68707 /packages/taler-wallet-webextension/src/components | |
parent | e227fa4e47a86c368011b063d3ac5ec005dc7652 (diff) | |
download | wallet-core-021d508337490d25f6d7293bf0deadbb5f298f8c.tar.xz |
fix cta navbar and added an withdrawal button when the wallet didnt find a tos (with a warning)
Diffstat (limited to 'packages/taler-wallet-webextension/src/components')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/ExchangeToS.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/components/ExchangeToS.tsx b/packages/taler-wallet-webextension/src/components/ExchangeToS.tsx index b7b0d2fd9..cfa20280f 100644 --- a/packages/taler-wallet-webextension/src/components/ExchangeToS.tsx +++ b/packages/taler-wallet-webextension/src/components/ExchangeToS.tsx @@ -21,7 +21,10 @@ import { h } from 'preact'; export function ExchangeXmlTos({ doc }: { doc: Document }) { const termsNode = doc.querySelector('[ids=terms-of-service]') if (!termsNode) { - return <div>not found</div> + return <div> + <p>The exchange send us an xml but there is no node with 'ids=terms-of-service'. This is the content:</p> + <pre>{new XMLSerializer().serializeToString(doc)}</pre> + </div> } return <Fragment> {Array.from(termsNode.children).map(renderChild)} |