Skip to content

Commit 915a16a

Browse files
authored
Merge pull request #296 from WeGo-Together/chiyoung-fix/login
[Test] formApi.reset() 제거 시 동작변화 있는지 테스트
2 parents 8c712ca + e22c15e commit 915a16a

File tree

1 file changed

+2
-2
lines changed
  • src/hooks/use-auth/use-auth-login

1 file changed

+2
-2
lines changed

src/hooks/use-auth/use-auth-login/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const useLogin = () => {
5656

5757
const { setIsAuthenticated } = useAuth();
5858

59-
const handleLogin = async (payload: LoginRequest, formApi: { reset: () => void }) => {
59+
const handleLogin = async (payload: LoginRequest, _formApi: { reset: () => void }) => {
6060
setLoginError(null);
6161

6262
try {
@@ -70,7 +70,7 @@ export const useLogin = () => {
7070
secure: process.env.NODE_ENV === 'production',
7171
});
7272

73-
formApi.reset();
73+
// formApi.reset();
7474

7575
setIsAuthenticated(true);
7676

0 commit comments

Comments
 (0)