Skip to content

Commit

Permalink
Add.
Browse files Browse the repository at this point in the history
  • Loading branch information
jee-eun-k committed Aug 11, 2024
1 parent 6df8616 commit c999729
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/pages/settings/SettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -106,6 +95,7 @@ const SettingPage = () => {
closeModal(event, reason);
removeTokenCookie();
resetUserInfo();
navigation('/login');
} else {
closeModal(event, reason);
}
Expand Down

0 comments on commit c999729

Please sign in to comment.