Skip to content

Commit

Permalink
[webclient] 닉네임 노출 여부 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ars-ki-00 committed Oct 5, 2024
1 parent 0b7044f commit a3df35e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export const LayoutProfile = () => {
</ProfileText>
) : (
<ProfileText to="/mypage" data-testid="layout-my-info">
{myInfo?.type === 'success' && `${myInfo.data.localId ?? myInfo.data.facebookName}님`}
{myInfo?.type === 'success' &&
`${myInfo.data.localId ?? myInfo.data.facebookName ?? myInfo.data.email?.split('@')[0]}님`}
</ProfileText>
);
};
Expand Down

0 comments on commit a3df35e

Please sign in to comment.