gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant-backoffice] 06/11: remove misplaced comments


From: gnunet
Subject: [taler-merchant-backoffice] 06/11: remove misplaced comments
Date: Mon, 20 Dec 2021 17:45:04 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository merchant-backoffice.

commit e08d8adf506a8941e8c0c105d10d27d45bbed3f4
Author: ms <ms@taler.net>
AuthorDate: Sun Dec 19 14:34:42 2021 +0100

    remove misplaced comments
---
 packages/bank/src/pages/home/index.tsx | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

diff --git a/packages/bank/src/pages/home/index.tsx 
b/packages/bank/src/pages/home/index.tsx
index 71debe4..6dfaa0b 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -491,17 +491,12 @@ export function BankHome(): VNode {
         username={backendState.username}
         password={backendState.password}
         backendUrl={backendState.url}>
-       /**
-        * Account layer: GETs only (balance and transactions history).
-        */
+
         <Account
          withdrawalOutcome={pageState.withdrawalOutcome}
          talerWithdrawUri={pageState.talerWithdrawUri}
          accountLabel={backendState.username}>
 
-         /**
-          * Create Taler withdrawal operation via the Access API.
-          */
           {!pageState.withdrawalInProgress && <button onClick={() => {
             createWithdrawalCall(
               "EUR:5",
@@ -510,26 +505,12 @@ export function BankHome(): VNode {
             )}}>Charge Taler wallet</button>
          }
 
-         /**
-          * This button turns visible only after a withdrawal reaches
-          * a persistent state (success or error), and lets the user
-          * navigate back to the main account / profile page.
-          */
          {pageState.withdrawalOutcome && <button onClick={() => {
               pageStateSetter((prevState) => {
                const { withdrawalOutcome, ...rest } = prevState;
                return {...rest, withdrawalInProgress: 
false};})}}>Close</button>
          }
 
-         /**
-          * This button turns visible after a withdrawal operation
-          * gets created and let the user confirm the operation after
-          * the wallet has scanned/parsed the withdraw URI.
-          *
-          * Eventually, it will be replaced by a background task that
-          * checks whether the wallet has POSTed the exchange's payment
-          * details.
-          */
          {pageState.talerWithdrawUri && <button onClick={() => {
             confirmWithdrawalCall(
               backendState,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]