aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages/withdraw.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/webex/pages/withdraw.tsx')
-rw-r--r--src/webex/pages/withdraw.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/webex/pages/withdraw.tsx b/src/webex/pages/withdraw.tsx
index 6b7152dc2..3ee0f768a 100644
--- a/src/webex/pages/withdraw.tsx
+++ b/src/webex/pages/withdraw.tsx
@@ -57,9 +57,9 @@ function NewExchangeSelection(props: { talerWithdrawUri: string }) {
return;
}
console.log("got withdrawDetails", d);
- if (!selectedExchange && d.withdrawInfo.suggestedExchange) {
+ if (!selectedExchange && d.bankWithdrawDetails.suggestedExchange) {
console.log("setting selected exchange");
- setSelectedExchange(d.withdrawInfo.suggestedExchange);
+ setSelectedExchange(d.bankWithdrawDetails.suggestedExchange);
}
setDetails(d);
};
@@ -101,7 +101,7 @@ function NewExchangeSelection(props: { talerWithdrawUri: string }) {
}
if (selecting) {
- const bankSuggestion = details && details.withdrawInfo.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,7 +157,7 @@ function NewExchangeSelection(props: { talerWithdrawUri: string }) {
<div>
<i18n.Translate wrap="p">
You are about to withdraw{" "}
- <strong>{renderAmount(details.withdrawInfo.amount)}</strong> from your
+ <strong>{renderAmount(details.bankWithdrawDetails.amount)}</strong> from your
bank account into your wallet.
</i18n.Translate>
<div>
@@ -188,8 +188,8 @@ function NewExchangeSelection(props: { talerWithdrawUri: string }) {
</span>
</p>
- {details.reserveCreationInfo ? (
- <WithdrawDetailView rci={details.reserveCreationInfo} />
+ {details.exchangeWithdrawDetails ? (
+ <WithdrawDetailView rci={details.exchangeWithdrawDetails} />
) : null}
</div>
</div>