diff options
Diffstat (limited to 'packages')
4 files changed, 5 insertions, 5 deletions
diff --git a/packages/demobank-ui/src/pages/LoginForm.tsx b/packages/demobank-ui/src/pages/LoginForm.tsx index 61d3c1e49..0acced4ab 100644 --- a/packages/demobank-ui/src/pages/LoginForm.tsx +++ b/packages/demobank-ui/src/pages/LoginForm.tsx @@ -87,7 +87,7 @@ export function LoginForm(): VNode { /> <br /> <button - type="submit" + type="button" class="pure-button pure-button-primary" disabled={!!errors} onClick={() => { diff --git a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx index aa76f61ee..3f048c385 100644 --- a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx +++ b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx @@ -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 () => { diff --git a/packages/demobank-ui/src/pages/RegistrationPage.tsx b/packages/demobank-ui/src/pages/RegistrationPage.tsx index c97cb56f3..9d84cdf44 100644 --- a/packages/demobank-ui/src/pages/RegistrationPage.tsx +++ b/packages/demobank-ui/src/pages/RegistrationPage.tsx @@ -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"> diff --git a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx index ed2898952..1df86717b 100644 --- a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx +++ b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx @@ -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); |