File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/components/Layout/RootLayout Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import Cookies from 'js-cookie';
1212const RootLayout = ( ) => {
1313 const { accessToken, uuid } = useAuthStore ( ( state ) => state ) ;
1414 const cookieToken = Cookies . get ( 'AUTH' ) ;
15+ const allCookies = Cookies . get ( ) ;
1516 const maskToken = ( token : string | null ) => {
1617 if ( ! token ) return '' ;
1718 if ( token . length <= 12 ) return token ;
@@ -26,6 +27,7 @@ const RootLayout = () => {
2627 < div >
2728 < div className = { styles . Token } > Token: { maskToken ( accessToken ) } </ div >
2829 < div className = { styles . Token } > CookieToken: { cookieToken || '없음' } </ div >
30+ < div className = { styles . Token } > allCookie: { JSON . stringify ( allCookies ) || '올쿠키' } </ div >
2931 < div > uuid: { uuid } </ div >
3032 < button onClick = { ( ) => showiOSInfo ( `${ accessToken } ,uuid:${ uuid } ` ) } >
3133 확인
You can’t perform that action at this time.
0 commit comments