[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.
- [taler-merchant-backoffice] branch master updated (aa05541 -> 8003d41), gnunet, 2021/12/20
- [taler-merchant-backoffice] 03/11: bank tests, gnunet, 2021/12/20
- [taler-merchant-backoffice] 08/11: bank: fix URL, gnunet, 2021/12/20
- [taler-merchant-backoffice] 01/11: bank: implement login, gnunet, 2021/12/20
- [taler-merchant-backoffice] 04/11: bank: fix URL generation, gnunet, 2021/12/20
- [taler-merchant-backoffice] 10/11: bank: implement withdrawal abort, gnunet, 2021/12/20
- [taler-merchant-backoffice] 02/11: Bank tests., gnunet, 2021/12/20
- [taler-merchant-backoffice] 11/11: bank: test withdrawal abort, gnunet, 2021/12/20
- [taler-merchant-backoffice] 09/11: bank: fix URL, gnunet, 2021/12/20
- [taler-merchant-backoffice] 06/11: remove misplaced comments,
gnunet <=
- [taler-merchant-backoffice] 05/11: bank: make tests 'Content-Type' aware, gnunet, 2021/12/20
- [taler-merchant-backoffice] 07/11: bank: fix URL generation, gnunet, 2021/12/20