diff --git a/src/components/auth/CreateAccount.tsx b/src/components/auth/CreateAccount.tsx index a4e29ef..8ff1f65 100644 --- a/src/components/auth/CreateAccount.tsx +++ b/src/components/auth/CreateAccount.tsx @@ -115,6 +115,7 @@ export default function CreateAccount() { Email setEmail(e.target.value)} placeholder="john@example.com" type="email" @@ -123,6 +124,7 @@ export default function CreateAccount() { Username setUsername(e.target.value)} placeholder="john_doe" /> @@ -130,6 +132,7 @@ export default function CreateAccount() { Password setPassword(e.target.value)} type="password" /> @@ -137,6 +140,7 @@ export default function CreateAccount() { Confirm Password setConfirmPassword(e.target.value)} onKeyDown={(e) => { if (e.key === "Enter") signup(); diff --git a/src/components/auth/Login.tsx b/src/components/auth/Login.tsx index 5b0e83d..058d3b1 100644 --- a/src/components/auth/Login.tsx +++ b/src/components/auth/Login.tsx @@ -51,11 +51,16 @@ export default function Login() { Email - setEmail(e.target.value)} type="email" /> + setEmail(e.target.value)} + type="email" + /> Password setPassword(e.target.value)} onKeyDown={(e) => { if (e.key === "Enter") login();