From 43a543b41fb883594791169017d880f6a6e7d445 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Thu, 22 Dec 2022 12:25:26 -0300
Subject: fix: reload before fetch. input type=submit reload the spa

---
 packages/demobank-ui/src/pages/LoginForm.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/demobank-ui/src/pages/LoginForm.tsx')

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={() => {
-- 
cgit v1.2.3

