File tree 1 file changed +18
-16
lines changed
1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -13,23 +13,25 @@ function LoginContainer() {
13
13
const navigate = useNavigate ( ) ;
14
14
15
15
const navigateToLobby = ( ) => {
16
- axios . post ( constants . LOGIN_URL ,
17
- {
18
- user : id ,
19
- password : password ,
20
- } )
21
- . then ( ( Response ) => {
16
+ // axios.post(constants.LOGIN_URL,
17
+ // {
18
+ // user: id,
19
+ // password: password,
20
+ // })
21
+ // .then((Response) => {
22
22
23
- if ( Response . data . result == "FAIL" ) {
24
- console . log ( "존재하지 않는 ID이거나 비밀번호가 틀렸습니다." ) ;
25
- setId ( "" ) ;
26
- setPassword ( "" ) ;
27
- }
28
- else {
29
- navigate ( "/lobby" ) ;
30
- }
31
- } )
32
- . catch ( ( Error ) => { console . log ( "에러" , Error ) } )
23
+ // if (Response.data.result == "FAIL") {
24
+ // console.log("존재하지 않는 ID이거나 비밀번호가 틀렸습니다.");
25
+ // setId("");
26
+ // setPassword("");
27
+
28
+ // }
29
+ // else {
30
+ // navigate("/lobby");
31
+ // }
32
+ // })
33
+ // .catch((Error) => { console.log("에러", Error) })
34
+ navigate ( "/lobby" ) ;
33
35
34
36
} ;
35
37
You can’t perform that action at this time.
0 commit comments