diff --git a/modules b/modules index a629840..ab2e48f 160000 --- a/modules +++ b/modules @@ -1 +1 @@ -Subproject commit a629840a7ca0aaed6a29e9cc67b42fa23d68f9ac +Subproject commit ab2e48f15ae691b45f863333a82912e8d4993737 diff --git a/src/assist/ProfileDiscription.tsx b/src/assist/ProfileDiscription.tsx index a183256..0cd0e02 100644 --- a/src/assist/ProfileDiscription.tsx +++ b/src/assist/ProfileDiscription.tsx @@ -2,7 +2,7 @@ import Profile from "@modules/components/profile/Profile"; import FlexBox from "@modules/layout/FlexBox"; interface ApprovalProfileProps { - name: string; + name: string | null; position: string; phone: string; } @@ -16,7 +16,11 @@ export default function ApprovalProfile({ -
{name}
+ {name === null ? ( +
탈퇴한 유저입니다
+ ) : ( +
{name}
+ )}
{position} {` `} diff --git a/src/screen/main/WorkInfo.tsx b/src/screen/main/WorkInfo.tsx index 2192e20..9e96dff 100644 --- a/src/screen/main/WorkInfo.tsx +++ b/src/screen/main/WorkInfo.tsx @@ -2,7 +2,7 @@ import { RoleType } from "@/apis/_type"; import FlexBox from "@modules/layout/FlexBox"; interface WorkInfoProps { - name: string; + name: string | null; position: string; time: string; role: RoleType; @@ -24,7 +24,11 @@ export default function WorkInfo({
-
{name}
+ {name === null ? ( +
탈퇴한 유저입니다
+ ) : ( +
{name}
+ )}
{position}
{time}