File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const AuthPage = () => {
5454
5555 safeLocalStorage . set ( IS_LOGINED , "true" ) ;
5656
57- // router.replace(redirectUrl || PATH.HOME);
57+ router . replace ( redirectUrl || PATH . HOME ) ;
5858 safeSessionStorage . remove ( REDIRECT_URL_KEY ) ;
5959 } catch ( error ) {
6060 if ( isAxiosErrorResponse ( error ) ) {
@@ -65,7 +65,6 @@ const AuthPage = () => {
6565 }
6666
6767 console . log ( error ) ;
68-
6968 router . replace ( PATH . HOME ) ;
7069 }
7170 } else {
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ let isLoginAlertShown = false;
3434// 응답 인터셉터
3535clientAxios . interceptors . response . use (
3636 ( response : AxiosResponse ) => {
37- console . log ( "@@ interceptors" , response , response . headers [ "set-cookie" ] ) ;
38-
3937 return response . data ;
4038 } ,
4139 async ( error : AxiosErrorResponse ) => {
You can’t perform that action at this time.
0 commit comments