From c999729adc13d43cd8f7d7add543650f0e04669c Mon Sep 17 00:00:00 2001 From: choba Date: Sun, 11 Aug 2024 17:52:16 +0900 Subject: [PATCH] Add. --- src/pages/settings/SettingsPage.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/pages/settings/SettingsPage.tsx b/src/pages/settings/SettingsPage.tsx index 4c50544..da03a60 100644 --- a/src/pages/settings/SettingsPage.tsx +++ b/src/pages/settings/SettingsPage.tsx @@ -49,17 +49,6 @@ const SettingPage = () => { }, [userInfo]); - - /** - * get user mode & nickname - * @returns - */ - // const getUserNickname = () => { - // const type = - // UserModeList.filter((mode) => mode.type === userInfo.templateType)[0] - // ?.name || 'TEST ACCOUNT'; - // return `#${type} ${userInfo.nickname}님`; - // }; /** * get list sub header * @param text test @@ -106,6 +95,7 @@ const SettingPage = () => { closeModal(event, reason); removeTokenCookie(); resetUserInfo(); + navigation('/login'); } else { closeModal(event, reason); }