사용자 권한 관리 컴포넌트 타입 정리 및 코드 개선
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
export const UserLoginAuthInfoWrap = ({
|
||||
mid,
|
||||
usrid,
|
||||
idCl,
|
||||
idCL,
|
||||
status,
|
||||
}: UserFindAuthMethodParams) => {
|
||||
const { navigate } = useNavigate();
|
||||
@@ -38,7 +38,7 @@ export const UserLoginAuthInfoWrap = ({
|
||||
}
|
||||
});
|
||||
|
||||
console.log("UserLoginAuthInfoWrap", mid, usrid, idCl, status);
|
||||
console.log("UserLoginAuthInfoWrap", mid, usrid, idCL, status);
|
||||
|
||||
const handleRemoveExistingEmail = (index: number) => {
|
||||
if (authMethodData?.emails) {
|
||||
@@ -58,7 +58,7 @@ export const UserLoginAuthInfoWrap = ({
|
||||
let params: UserFindAuthMethodParams = {
|
||||
mid: mid,
|
||||
usrid: usrid,
|
||||
idCl: idCl,
|
||||
idCL: idCL,
|
||||
status: status,
|
||||
page: pageParam
|
||||
};
|
||||
@@ -299,7 +299,7 @@ export const UserLoginAuthInfoWrap = ({
|
||||
removeMethods.push({
|
||||
usrid: usrid,
|
||||
systemAdminClassId: mid,
|
||||
idCl: "MID",
|
||||
idCl: idCL,
|
||||
authMethodType: "EMAIL",
|
||||
sequence: email.sequence,
|
||||
content: email.content
|
||||
@@ -318,7 +318,7 @@ export const UserLoginAuthInfoWrap = ({
|
||||
removeMethods.push({
|
||||
usrid: usrid,
|
||||
systemAdminClassId: mid,
|
||||
idCl: "MID",
|
||||
idCl: idCL,
|
||||
authMethodType: "PHONE",
|
||||
sequence: phone.sequence,
|
||||
content: phone.content
|
||||
@@ -334,7 +334,7 @@ export const UserLoginAuthInfoWrap = ({
|
||||
addMethods.push({
|
||||
usrid: usrid,
|
||||
systemAdminClassId: mid,
|
||||
idCl: "MID",
|
||||
idCl: idCL,
|
||||
authMethodType: "EMAIL",
|
||||
sequence: existingEmailCount + index + 1,
|
||||
content: email
|
||||
@@ -348,7 +348,7 @@ export const UserLoginAuthInfoWrap = ({
|
||||
addMethods.push({
|
||||
usrid: usrid,
|
||||
systemAdminClassId: mid,
|
||||
idCl: "MID",
|
||||
idCl: idCL,
|
||||
authMethodType: "PHONE",
|
||||
sequence: existingPhoneCount + index + 1,
|
||||
content: phone
|
||||
|
||||
Reference in New Issue
Block a user