fix: reload before fetch. input type=submit reload the spa
This commit is contained in:
parent
f1962dceb3
commit
43a543b41f
@ -87,7 +87,7 @@ export function LoginForm(): VNode {
|
|||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="button"
|
||||||
class="pure-button pure-button-primary"
|
class="pure-button pure-button-primary"
|
||||||
disabled={!!errors}
|
disabled={!!errors}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -155,7 +155,7 @@ export function PaytoWireTransferForm({
|
|||||||
|
|
||||||
<p style={{ display: "flex", justifyContent: "space-between" }}>
|
<p style={{ display: "flex", justifyContent: "space-between" }}>
|
||||||
<input
|
<input
|
||||||
type="submit"
|
type="button"
|
||||||
class="pure-button pure-button-primary"
|
class="pure-button pure-button-primary"
|
||||||
disabled={!!errorsWire}
|
disabled={!!errorsWire}
|
||||||
value="Send"
|
value="Send"
|
||||||
@ -274,7 +274,7 @@ export function PaytoWireTransferForm({
|
|||||||
<p>
|
<p>
|
||||||
<input
|
<input
|
||||||
class="pure-button pure-button-primary"
|
class="pure-button pure-button-primary"
|
||||||
type="submit"
|
type="button"
|
||||||
disabled={!!errorsPayto}
|
disabled={!!errorsPayto}
|
||||||
value={i18n.str`Send`}
|
value={i18n.str`Send`}
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
|
@ -84,7 +84,7 @@ function RegistrationForm(): VNode {
|
|||||||
<h1 class="nav">{i18n.str`Welcome to ${bankUiSettings.bankName}!`}</h1>
|
<h1 class="nav">{i18n.str`Welcome to ${bankUiSettings.bankName}!`}</h1>
|
||||||
<article>
|
<article>
|
||||||
<div class="register-div">
|
<div class="register-div">
|
||||||
<form action="javascript:void(0);" class="register-form" noValidate>
|
<form class="register-form" noValidate>
|
||||||
<div class="pure-form">
|
<div class="pure-form">
|
||||||
<h2>{i18n.str`Please register!`}</h2>
|
<h2>{i18n.str`Please register!`}</h2>
|
||||||
<p class="unameFieldLabel registerFieldLabel formFieldLabel">
|
<p class="unameFieldLabel registerFieldLabel formFieldLabel">
|
||||||
|
@ -80,7 +80,7 @@ export function WalletWithdrawForm({
|
|||||||
<input
|
<input
|
||||||
id="select-exchange"
|
id="select-exchange"
|
||||||
class="pure-button pure-button-primary"
|
class="pure-button pure-button-primary"
|
||||||
type="submit"
|
type="button"
|
||||||
value={i18n.str`Withdraw`}
|
value={i18n.str`Withdraw`}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
submitAmount = validateAmount(submitAmount);
|
submitAmount = validateAmount(submitAmount);
|
||||||
|
Loading…
Reference in New Issue
Block a user