diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-20 11:35:51 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-20 11:35:51 +0100 |
commit | 54f7999c63292ca63f5f584c49bdef0b55627d71 (patch) | |
tree | 753d18dfeaad893f0da55143f2c319d80a38e89c /src/webex | |
parent | 378d8dee5825c67f9387542661ea6b34c30adbea (diff) | |
download | wallet-core-54f7999c63292ca63f5f584c49bdef0b55627d71.tar.xz |
fix taler URI classification bug
Diffstat (limited to 'src/webex')
-rw-r--r-- | src/webex/pages/withdraw.tsx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/webex/pages/withdraw.tsx b/src/webex/pages/withdraw.tsx index 9d84ff3a6..c123e2a6f 100644 --- a/src/webex/pages/withdraw.tsx +++ b/src/webex/pages/withdraw.tsx @@ -21,12 +21,9 @@ * @author Florian Dold */ - import * as i18n from "../i18n"; -import { - WithdrawDetails, -} from "../../types/walletTypes"; +import { WithdrawDetails } from "../../types/walletTypes"; import { WithdrawDetailView, renderAmount } from "../renderHtml"; @@ -52,7 +49,10 @@ function NewExchangeSelection(props: { talerWithdrawUri: string }) { try { d = await getWithdrawDetails(talerWithdrawUri, selectedExchange); } catch (e) { - console.error("error getting withdraw details", e); + console.error( + `error getting withdraw details for uri ${talerWithdrawUri}, exchange ${selectedExchange}`, + e, + ); setErrMsg(e.message); return; } @@ -101,7 +101,8 @@ function NewExchangeSelection(props: { talerWithdrawUri: string }) { } if (selecting) { - const bankSuggestion = details && details.bankWithdrawDetails.suggestedExchange; + const bankSuggestion = + details && details.bankWithdrawDetails.suggestedExchange; return ( <div> {i18n.str`Please select an exchange. You can review the details before after your selection.`} @@ -157,8 +158,8 @@ function NewExchangeSelection(props: { talerWithdrawUri: string }) { <div> <i18n.Translate wrap="p"> You are about to withdraw{" "} - <strong>{renderAmount(details.bankWithdrawDetails.amount)}</strong> from your - bank account into your wallet. + <strong>{renderAmount(details.bankWithdrawDetails.amount)}</strong> from + your bank account into your wallet. </i18n.Translate> <div> <button |