This repository was archived by the owner on Jan 29, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ const PROFILE_EVENT_METADATA_LABEL = {
7373 photo : '프로필사진' ,
7474}
7575
76+ const NOL_CONNECTED_LABEL = 'NOL 멤버스 계정'
77+
7678export function Profile ( ) {
7779 const user = useUser ( )
7880 const { trackEvent } = useEventTrackingContext ( )
@@ -81,9 +83,9 @@ export function Profile() {
8183 const providerIconSrc = user ? PROVIDER_INFO [ user . provider ] . icon : undefined
8284 const badgeUrl = user ? user . mileage ?. badges [ 0 ] ?. icon . image_url : undefined
8385 const providerVisible = user && ! user . nolConnected
84- const providerLabel = providerVisible
85- ? PROVIDER_INFO [ user . provider ] . label
86- : null
86+ const profileLabel = providerVisible
87+ ? user . email || PROVIDER_INFO [ user . provider ] . label
88+ : NOL_CONNECTED_LABEL
8789
8890 const onProfileClick = (
8991 referrer : keyof typeof PROFILE_EVENT_METADATA_LABEL ,
@@ -112,7 +114,7 @@ export function Profile() {
112114 { providerIconSrc && providerVisible ? (
113115 < SocialIcon src = { providerIconSrc } alt = "social login icon" />
114116 ) : null }
115- { user . email || providerLabel }
117+ { profileLabel }
116118 </ UserEmailOrProvider >
117119 </ Container >
118120
You can’t perform that action at this time.
0 commit comments