feat: Add autofocus on sign up, sign in form

This commit is contained in:
jhynsoo 2023-10-25 20:00:26 +09:00
parent 833cc8b9a7
commit fdddaa77a4
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ const LoginForm = () => {
placeholder="아이디" placeholder="아이디"
value={username} value={username}
onChange={(e) => setUsername(e.target.value)} onChange={(e) => setUsername(e.target.value)}
autoFocus
/> />
</div> </div>
<div className="formInput"> <div className="formInput">

View File

@ -45,6 +45,7 @@ const SignupForm = () => {
placeholder="아이디" placeholder="아이디"
value={username} value={username}
onChange={(e) => setUsername(e.target.value)} onChange={(e) => setUsername(e.target.value)}
autoFocus
/> />
</div> </div>
<div className="formInput"> <div className="formInput">