diff options
author | Sebastian <sebasjm@gmail.com> | 2023-06-21 11:28:27 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-06-21 11:28:27 -0300 |
commit | 81bf1cc9c12bcf82835c7dffca4557e39ec5e600 (patch) | |
tree | b7b63bfa7d82f6d37bf176374c7dc2266661b57e /packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx | |
parent | 8b85fe1775e21f360ad028fc0eb3ea2c3155bfff (diff) | |
download | wallet-core-81bf1cc9c12bcf82835c7dffca4557e39ec5e600.tar.xz |
show bank details
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx | 47 |
1 files changed, 5 insertions, 42 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx b/packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx index 0bf9ef9d1..f489b805b 100644 --- a/packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx +++ b/packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx @@ -50,48 +50,11 @@ export function ReserveCreated({ function TransferDetails(): VNode { if (!paytoURI) return <Fragment />; return ( - <section> - <BankDetailsByPaytoType - amount={amount} - exchangeBaseUrl={exchangeBaseUrl} - payto={paytoURI} - subject={reservePub} - /> - <table> - <tbody> - <tr> - <td> - <pre> - <b> - <a - target="_bank" - rel="noreferrer" - title="RFC 8905 for designating targets for payments" - href="https://tools.ietf.org/html/rfc8905" - > - Payto URI - </a> - </b> - </pre> - </td> - <td width="100%" style={{ wordBreak: "break-all" }}> - {stringifyPaytoUri(paytoURI)} - </td> - <td> - <CopyButton getContent={() => stringifyPaytoUri(paytoURI)} /> - </td> - </tr> - </tbody> - </table> - <p> - <WarningBox> - <i18n.Translate> - Make sure to use the correct subject, otherwise the money will not - arrive in this wallet. - </i18n.Translate> - </WarningBox> - </p> - </section> + <BankDetailsByPaytoType + amount={amount} + exchangeBaseUrl={exchangeBaseUrl} + subject={reservePub} + /> ); } |