Skip to content

Commit

Permalink
Login and register first inputs made auto focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Md-Rubel-Ahmed-Rana committed Jul 3, 2024
1 parent 2a21e78 commit 69b007a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/pages/Signup/Signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const Signup = () => {
<div>
<label htmlFor="name">Name</label>
<input
autoFocus
aria-label="name"
type="text"
{...register("name", { required: "Name is required" })}
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/pages/login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const Login = () => {
<div className="my-5">
<label htmlFor="email">Email</label>
<input
autoFocus
aria-label="Email address"
type="email"
{...register("email", {
Expand Down

0 comments on commit 69b007a

Please sign in to comment.