Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
naorpeled committed Dec 24, 2022
1 parent 6405e9f commit 417edda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions frontend/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ export default function Login() {
</div>
</Link>
<form
onChange={() => setErrorLogin(false)} onSubmit={(e) => {
e.preventDefault();
}}
onChange={() => setErrorLogin(false)} onSubmit={(e) => e.preventDefault()}
>
<div className="bg-bunker w-full max-w-md mx-auto h-7/12 py-4 pt-8 px-6 rounded-xl drop-shadow-xl">
<p className="text-3xl w-max mx-auto flex justify-center font-semibold text-bunker-100 mb-6">
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ export default function SignUp() {
/>
</div>
</Link>
<form onSubmit={(e) => {e.preventDefault();}}>
<form onSubmit={(e) => e.preventDefault()}>
{step == 1 ? step1 : step == 2 ? step2 : step == 3 ? step3 : step4}
</form>
</div>
Expand Down

0 comments on commit 417edda

Please sign in to comment.