diff --git a/src/components/Login/LoginForm.jsx b/src/components/Login/LoginForm.jsx index f5cf787..6b2e8d2 100644 --- a/src/components/Login/LoginForm.jsx +++ b/src/components/Login/LoginForm.jsx @@ -41,6 +41,7 @@ const LoginForm = () => { placeholder="아이디" value={username} onChange={(e) => setUsername(e.target.value)} + autoFocus />
diff --git a/src/components/Signup/SignupForm.jsx b/src/components/Signup/SignupForm.jsx index 3edea56..2e4df90 100644 --- a/src/components/Signup/SignupForm.jsx +++ b/src/components/Signup/SignupForm.jsx @@ -45,6 +45,7 @@ const SignupForm = () => { placeholder="아이디" value={username} onChange={(e) => setUsername(e.target.value)} + autoFocus />