Skip to content

Commit 25a5b75

Browse files
committed
fix: preventDefault bug
1 parent a4f0a55 commit 25a5b75

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

web/src/routes/(functional)/login/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<form
5858
class="card-body"
5959
onsubmit={(e) => {
60-
e.preventDefault;
60+
e.preventDefault();
6161
handleLogin();
6262
}}
6363
>

web/src/routes/(functional)/register/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<form
9292
class="card-body"
9393
onsubmit={(e) => {
94-
e.preventDefault;
94+
e.preventDefault();
9595
handleRegister();
9696
}}
9797
>

0 commit comments

Comments
 (0)