[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant-backoffice] branch master updated: -fix my FTBFS
From: |
gnunet |
Subject: |
[taler-merchant-backoffice] branch master updated: -fix my FTBFS |
Date: |
Sun, 25 Sep 2022 15:41:15 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant-backoffice.
The following commit(s) were added to refs/heads/master by this push:
new 2f746b4 -fix my FTBFS
2f746b4 is described below
commit 2f746b437e74837e63ee10ca6dabbf5ff69b31ec
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Sep 25 15:41:08 2022 +0200
-fix my FTBFS
---
packages/bank/src/pages/home/index.tsx | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/packages/bank/src/pages/home/index.tsx
b/packages/bank/src/pages/home/index.tsx
index 36aea01..b55000b 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -76,6 +76,14 @@ interface CredentialsRequestType {
password: string;
}
+/**
+ * Request body of /register.
+ */
+interface LoginRequestType {
+ username: string;
+ password: string;
+}
+
interface WireTransferRequestType {
iban: string;
subject: string;
@@ -1335,7 +1343,7 @@ function RegistrationForm(Props: any): VNode {
...submitData,
username: e.currentTarget.value,
}))}} />
- <br>
+ <br />
{i18n`Password:`}
<input
type="password"
@@ -1348,9 +1356,10 @@ function RegistrationForm(Props: any): VNode {
...submitData,
password: e.currentTarget.value,
}))}} />
- <br>
+ <br />
+ {/*
{i18n`Phone number:`}
- <!-- FIXME: add input validation (must start with +, otherwise
only numbers) -->
+ // FIXME: add input validation (must start with +, otherwise
only numbers)
<input
type="phone"
placeholder="+CC-123456789"
@@ -1362,7 +1371,8 @@ function RegistrationForm(Props: any): VNode {
...submitData,
phone: e.currentTarget.value,
}))}} />
- <br>
+ <br />
+ */}
<button
autofocus
class="pure-button pure-button-primary"
@@ -1398,7 +1408,7 @@ function RegistrationForm(Props: any): VNode {
* after setting to undefined.
*/
submitDataSetter({username: "", password:
""})}}>{i18n`Register`}</button>
- <!-- FIXME: should use a different color -->
+ // FIXME: should use a different color
<button
autofocus
class="pure-button pure-button-primary"
@@ -1867,7 +1877,7 @@ export function BankHome(): VNode {
return (
<PageContext.Provider value={[pageState, pageStateSetter]}>
<BankFrame>
- <h1 class="nav">{i18n`Welcome to the euFin bank!`}</h1>
+ <h1 class="nav">{i18n`Welcome to the bank!`}</h1>
<LoginForm
pageStateSetter={pageStateSetter}
backendStateSetter={backendStateSetter} />
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant-backoffice] branch master updated: -fix my FTBFS,
gnunet <=