From 0aa192b2325b97d64235f191467abd5ab8171a51 Mon Sep 17 00:00:00 2001 From: "focp212@naver.com" Date: Mon, 13 Oct 2025 10:38:42 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets/sub-layout/index.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/widgets/sub-layout/index.tsx b/src/widgets/sub-layout/index.tsx index 3e08d85..6d3d1d2 100644 --- a/src/widgets/sub-layout/index.tsx +++ b/src/widgets/sub-layout/index.tsx @@ -119,9 +119,12 @@ export const SubLayout = () => { }; }); useStore.getState().UserStore.setSelectOptionsMids(options); + console.log('mids: [' + JSON.stringify(rs.mids) + ']'); if(!!rs.mids[0]){ useStore.getState().UserStore.setMid(rs.mids[0]); } + setLoginSuccess(true); + setHeaderNavigationKey(headerNavigationKey + 1); }); }; @@ -153,13 +156,16 @@ export const SubLayout = () => { } else{ callLogin(userParmas).then(() => { - setLoginSuccess(true); - setHeaderNavigationKey(headerNavigationKey + 1); + callHomeGroups(); }); } }, []); + + const tokenTimeCheck = () => { + + } useEffect(() => { // handleRequestToken();