diff --git a/src/api/endpoint_LEGACY/members/type.ts b/src/api/endpoint_LEGACY/members/type.ts index 883b95736..70d1bb14c 100644 --- a/src/api/endpoint_LEGACY/members/type.ts +++ b/src/api/endpoint_LEGACY/members/type.ts @@ -61,7 +61,6 @@ export type ProfileDetail = { allowOfficial: boolean; isMine: boolean; isPhoneBlind: boolean; - isEmailBlind: boolean; }; export type SoptActivity = { @@ -152,7 +151,6 @@ export interface ProfileRequest { }; selfIntroduction: string | null; isPhoneBlind: boolean | null; - isEmailBlind: boolean | null; } export interface PostMemberMessageVariables { diff --git a/src/components/members/upload/FormSection/Basic/index.tsx b/src/components/members/upload/FormSection/Basic/index.tsx index 6537c6639..62fbcb0e5 100644 --- a/src/components/members/upload/FormSection/Basic/index.tsx +++ b/src/components/members/upload/FormSection/Basic/index.tsx @@ -51,17 +51,6 @@ export default function MemberBasicFormSection() { ); }; - const openMaskingEmailModal = () => { - return openMaskingModal( - '이메일을 숨기시겠어요?', - -
  • 내 프로필에 이메일이 노출되지 않아요!
  • -
  • 이메일을 숨겨도 쪽지는 전달될 수 있어요.
  • -
  • 이메일을 숨겨도 동일 모임장, 임원진, 메이커스 운영진은 해당 정보를 확인할 수 있어요.
  • -
    , - ); - }; - const handleBlind = async (e: MouseEvent, name: keyof MemberUploadForm, openModal: () => Promise) => { if (getValues(name)) { setValue(name, false); @@ -124,13 +113,6 @@ export default function MemberBasicFormSection() { - - 정보 숨기기 - handleBlind(e, 'isEmailBlind', openMaskingEmailModal)} - /> - = { activities: [DEFAULT_ACTIVITY], allowOfficial: false, isPhoneBlind: false, - isEmailBlind: false, careers: [DEFAULT_CAREER], mbti: null, favor: { peach: null, alcohol: null, fishBread: null, tteokbokki: null, sweetAndSourPork: null, mintChocolate: null }, diff --git a/src/components/members/upload/types.ts b/src/components/members/upload/types.ts index 00d53b18d..f074aad03 100644 --- a/src/components/members/upload/types.ts +++ b/src/components/members/upload/types.ts @@ -32,7 +32,6 @@ export interface MemberUploadForm { interest: string; longIntroduction: string; isPhoneBlind: boolean; - isEmailBlind: boolean; } export interface SoptActivity { diff --git a/src/pages/members/edit.tsx b/src/pages/members/edit.tsx index 391623666..7abe5c2d8 100644 --- a/src/pages/members/edit.tsx +++ b/src/pages/members/edit.tsx @@ -93,7 +93,6 @@ export default function MemberEditPage() { mbtiDescription, interest, isPhoneBlind, - isEmailBlind, } = formData; const requestBody: ProfileRequest = { @@ -132,7 +131,6 @@ export default function MemberEditPage() { isRiceTteokLover: favor.tteokbokki === null ? null : favor.tteokbokki === '쌀떡', }, selfIntroduction: longIntroduction, - isEmailBlind, isPhoneBlind, }; @@ -171,7 +169,6 @@ export default function MemberEditPage() { })), allowOfficial: myProfile.allowOfficial, isPhoneBlind: myProfile.isPhoneBlind, - isEmailBlind: myProfile.isEmailBlind, profileImage: myProfile.profileImage, careers: myProfile.careers.length ? myProfile.careers.map((career) => diff --git a/src/pages/members/upload.tsx b/src/pages/members/upload.tsx index b241fbfd1..44cb62c31 100644 --- a/src/pages/members/upload.tsx +++ b/src/pages/members/upload.tsx @@ -62,7 +62,6 @@ export default function MemberUploadPage() { allowOfficial, mbtiDescription, interest, - isEmailBlind, isPhoneBlind, } = formData; @@ -102,7 +101,6 @@ export default function MemberUploadPage() { isRiceTteokLover: favor.tteokbokki === null ? null : favor.tteokbokki === '쌀떡', }, selfIntroduction: longIntroduction, - isEmailBlind, isPhoneBlind, };