Skip to content

Commit 13ca643

Browse files
committed
feat: 프로필 메뉴 항목에 뜨는 계정 정보를 약간 더 디테일하게 수정
1 parent 903b9e0 commit 13ca643

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • apps/pyconkr-2026/src/components/layout/UserMenuButton

apps/pyconkr-2026/src/components/layout/UserMenuButton/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { UserSignInAccount, UserSignInMethod } from "@frontend/shop/components/common";
12
import { useShopClient, useSignOutMutation, useUserStatus } from "@frontend/shop/hooks";
23
import { UserSignedInStatus } from "@frontend/shop/schemas";
34
import { AccountCircle, Login, Logout, Receipt } from "@mui/icons-material";
@@ -71,8 +72,8 @@ const InnerUserMenuButton: FC<InnerUserMenuButtonPropType> = ({ loading, user, o
7172
{user ? (
7273
[
7374
<UserNameItem key="username" disabled>
74-
<Typography variant="body2" sx={{ fontWeight: 600, color: (theme) => theme.palette.text.primary }}>
75-
{user.display || user.email}
75+
<Typography variant="body2" sx={{ fontWeight: 600, color: (theme) => theme.palette.text.primary }} component="span">
76+
<UserSignInAccount /> ( 소셜 로그인 - <UserSignInMethod /> )
7677
</Typography>
7778
</UserNameItem>,
7879
<Divider key="divider" sx={{ my: 0.5 }} />,

0 commit comments

Comments
 (0)