사용자 권한 관리 컴포넌트 타입 정리 및 코드 개선
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ import {
|
||||
export const UserAccountAuthPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
const location = useLocation();
|
||||
const { tid, mid, usrid, idCl, status } = location.state || {};
|
||||
const { mid, usrid, idCL, status } = location.state || {};
|
||||
|
||||
const [activeTab, ] = useState<AccountUserTabKeys>(AccountUserTabKeys.AccountAuth);
|
||||
useSetHeaderTitle('사용자 설정');
|
||||
@@ -26,9 +26,6 @@ export const UserAccountAuthPage = () => {
|
||||
navigate(PATHS.account.user.manage);
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
console.log('tid : ', tid);
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -39,13 +36,13 @@ export const UserAccountAuthPage = () => {
|
||||
activeTab={ activeTab }
|
||||
mid={ mid || '' }
|
||||
usrid={ usrid || '' }
|
||||
idCl={ idCl || '' }
|
||||
idCL={ idCL || '' }
|
||||
status={ status || '' }
|
||||
></AccountUserTab>
|
||||
<UserAccountAuthWrap
|
||||
mid={ mid || '' }
|
||||
usrid={ usrid || '' }
|
||||
idCl={ idCl || '' }
|
||||
idCL={ idCL || '' }
|
||||
status={ status || '' }
|
||||
></UserAccountAuthWrap>
|
||||
</div>
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
|
||||
export const UserLoginAuthInfoPage = () => {
|
||||
const location = useLocation();
|
||||
const { mid, usrid, idCl, status } = location.state || {};
|
||||
const { mid, usrid, idCL, status } = location.state || {};
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
const [activeTab, ] = useState<AccountUserTabKeys>(AccountUserTabKeys.LoginAuthInfo);
|
||||
@@ -35,13 +35,13 @@ export const UserLoginAuthInfoPage = () => {
|
||||
activeTab={ activeTab }
|
||||
mid={mid || ''}
|
||||
usrid={usrid || ''}
|
||||
idCl={idCl || ''}
|
||||
idCL={idCL || ''}
|
||||
status={status || ''}
|
||||
></AccountUserTab>
|
||||
<UserLoginAuthInfoWrap
|
||||
mid={mid || ''}
|
||||
usrid={usrid || ''}
|
||||
idCl={idCl || ''}
|
||||
idCL={idCL || ''}
|
||||
status={status || ''}
|
||||
></UserLoginAuthInfoWrap>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user