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