fix: pass user/avatarColor to Avatar in profile popout and modal
Profile panels were rendering avatars without the user's chosen avatarColor because they passed userId but omitted the user prop.
This commit is contained in:
@@ -108,6 +108,7 @@ export function UserProfilePopout({ user, onClose, position }: UserProfilePopout
|
||||
size={80}
|
||||
status={user.status as 'online' | 'idle' | 'dnd' | 'offline' | null}
|
||||
userId={user.homeUserId ?? user.id}
|
||||
user={user}
|
||||
ring={{ width: 4, color: 'rgba(20,20,26,0.85)' }}
|
||||
className="mt-[-44px] mb-3"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user