commit 0a96e7594d8881fab32239600f5d2208b44fce6c
parent d7071b300778b233f150b58c6005d402ede8bad1
Author: Sebastian <sebasjm@gmail.com>
Date: Fri, 21 Oct 2022 15:25:02 -0300
missing type=text and focus on switch
Diffstat:
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
@@ -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>
<input
name="address"
+ type="text"
size={90}
+ ref={ref}
id="address"
value={rawPaytoInput}
required