gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant-backoffice] branch master updated: missing type=text and


From: gnunet
Subject: [taler-merchant-backoffice] branch master updated: missing type=text and focus on switch
Date: Fri, 21 Oct 2022 20:25:11 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 0a96e75  missing type=text and focus on switch
0a96e75 is described below

commit 0a96e7594d8881fab32239600f5d2208b44fce6c
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Oct 21 15:25:02 2022 -0300

    missing type=text and focus on switch
---
 packages/bank/src/pages/home/index.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/packages/bank/src/pages/home/index.tsx 
b/packages/bank/src/pages/home/index.tsx
index 0a2a5a5..1fcd7c0 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -941,10 +941,9 @@ function PaytoWireTransfer(Props: any): VNode {
   const ref = useRef<HTMLInputElement>(null)
   useEffect(() => {
     if (focus) ref.current?.focus();
-  },[]);
+  },[pageState.isRawPayto]);
 
   if (!pageState.isRawPayto) {
-    console.log('wire transfer form');
     return (
       <div>
         <div class="pure-form"
@@ -1044,7 +1043,6 @@ function PaytoWireTransfer(Props: any): VNode {
       </div>
       );
   }
-  console.log('rendering raw payto form');
   return (
     <div>
       <p>
@@ -1056,7 +1054,9 @@ function PaytoWireTransfer(Props: any): VNode {
         <label for="address">{i18n`payto URI:`}</label>&nbsp;
         <input
           name="address"
+          type="text"
           size={90}
+          ref={ref}
           id="address"
           value={rawPaytoInput}
           required

-- 
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]