From 46aa042f9acb940660f7a53b4824b1d6fb2ad8b3 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 5 Feb 2024 16:23:09 -0300
Subject: fixes #8294

---
 .../src/pages/WithdrawalConfirmationQuestion.tsx   | 24 +++++++---------------
 1 file changed, 7 insertions(+), 17 deletions(-)

(limited to 'packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx')

diff --git a/packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx b/packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx
index 66c27ef4c..e8fff1901 100644
--- a/packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx
+++ b/packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx
@@ -214,9 +214,7 @@ export function WithdrawalConfirmationQuestion({
                                   <Fragment>
                                     <div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0">
                                       <dt class="text-sm font-medium leading-6 text-gray-900">
-                                        <i18n.Translate>
-                                          Taler Exchange operator's account
-                                        </i18n.Translate>
+                                        <i18n.Translate>Payment provider's account number</i18n.Translate>
                                       </dt>
                                       <dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
                                         {p.iban}
@@ -225,12 +223,10 @@ export function WithdrawalConfirmationQuestion({
                                     {name && (
                                       <div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0">
                                         <dt class="text-sm font-medium leading-6 text-gray-900">
-                                          <i18n.Translate>
-                                            Taler Exchange operator's name
-                                          </i18n.Translate>
+                                          <i18n.Translate>Payment provider's name</i18n.Translate>
                                         </dt>
                                         <dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
-                                          {p.params["receiver-name"]}
+                                          {name}
                                         </dd>
                                       </div>
                                     )}
@@ -244,9 +240,7 @@ export function WithdrawalConfirmationQuestion({
                                   <Fragment>
                                     <div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0">
                                       <dt class="text-sm font-medium leading-6 text-gray-900">
-                                        <i18n.Translate>
-                                          Taler Exchange operator's account
-                                        </i18n.Translate>
+                                        <i18n.Translate>Payment provider's account id</i18n.Translate>
                                       </dt>
                                       <dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
                                         {p.account}
@@ -255,12 +249,10 @@ export function WithdrawalConfirmationQuestion({
                                     {name && (
                                       <div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0">
                                         <dt class="text-sm font-medium leading-6 text-gray-900">
-                                          <i18n.Translate>
-                                            Taler Exchange operator's name
-                                          </i18n.Translate>
+                                          <i18n.Translate>Payment provider's name</i18n.Translate>
                                         </dt>
                                         <dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
-                                          {p.params["receiver-name"]}
+                                          {name}
                                         </dd>
                                       </div>
                                     )}
@@ -271,9 +263,7 @@ export function WithdrawalConfirmationQuestion({
                                 return (
                                   <div class="px-4 py-2 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0">
                                     <dt class="text-sm font-medium leading-6 text-gray-900">
-                                      <i18n.Translate>
-                                        Taler Exchange operator's account
-                                      </i18n.Translate>
+                                      <i18n.Translate>Payment provider's account</i18n.Translate>
                                     </dt>
                                     <dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
                                       {details.account.targetPath}
-- 
cgit v1.2.3

