-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: fixed broken image in user logo #229
Conversation
Updated .env.example to be a bit more succinct.
@Febin-Joseph is attempting to deploy a commit to the Uncurated Tests Team on Vercel. A member of the Team first needs to authorize it. |
I wonder if we can instead use the <Avatar>
<AvatarImage src="https://github.com/shadcn.png" />
<AvatarFallback>CN</AvatarFallback>
</Avatar> |
@shadcn But in the place of CN text in here |
@Febin-Joseph We can use the user initials. See ai-chatbot/components/user-menu.tsx Line 21 in 69ca8fc
|
@shadcn The case is if the user doesn't have a profile pic and also doesn't have a user name in their vercel account then only the broken image will be displayed and think if the user have a username in vercel account but doesn't have a profile pic, in that scenario instead of the broken image the user's names two letters will be displayed in the place of profile. But in this case the user doesn't have a name too. then how can use |
Hi ,
i have found a Bug after user login using vercel account, the Bug is :
Before Image :
Fixed image :
Now if the user doesn't have a profile image and name in vercel the default icon will be displayed else if having a profile image and doesn't have a name then only the profile image will be dispalyed as before.