feat: Add autofocus on sign up, sign in form
This commit is contained in:
parent
833cc8b9a7
commit
fdddaa77a4
@ -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">
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user