We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 811ef4f commit d49e6d5Copy full SHA for d49e6d5
docs/app/landingComponents/YourTeamDemo.js
@@ -16,9 +16,10 @@ const MenuIcon = () => {
16
17
const UserItem = ({ name = "", src = "", ...props }) => {
18
const initials = name.split(' ').map(n => n[0]).join('')
19
+ const imageSrc = src === "" ? null : src
20
return <div className='flex items-center justify-between' {...props}>
21
<div className="flex items-center space-x-2">
- <Avatar src={src} fallback={initials} />
22
+ <Avatar src={imageSrc} fallback={initials} />
23
<Text className="font-light !text-sm hover:underline cursor-pointer text-blue-950">{name}</Text>
24
</div>
25
<span className='cursor-pointer'>
0 commit comments