Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

cleanup

Naor Peled417eddaeff8b
diff --git a/frontend/pages/login.tsx b/frontend/pages/login.tsx
index 5346b77fa9..036902de00 100644
--- a/frontend/pages/login.tsx
+++ b/frontend/pages/login.tsx
@@ -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">
diff --git a/frontend/pages/signup.tsx b/frontend/pages/signup.tsx
index 8ca92aea70..a6743f457f 100644
--- a/frontend/pages/signup.tsx
+++ b/frontend/pages/signup.tsx
@@ -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>