Skip to content

Commit f0258d2

Browse files
authored
Merge pull request #2 from pdnode-team/fix/known-bugs
fix: preventDefault bug
2 parents a4f0a55 + 25a5b75 commit f0258d2

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)