Skip to content

Commit 1dd28a8

Browse files
committed
Clean up
Tool: gitpod/catfood.gitpod.cloud
1 parent c8c6533 commit 1dd28a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dashboard/src/teams/onboarding/OrgMemberAvatarInput.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ type SuggestedMemberOptionProps = {
101101
};
102102
};
103103
const SuggestedMemberOption: FC<SuggestedMemberOptionProps> = ({ member }) => {
104-
const { fullName } = member;
104+
const { fullName, avatarUrl } = member;
105105

106106
return (
107107
<div className="flex flex-row items-center overflow-hidden" title={fullName} aria-label={`Member: ${fullName}`}>
108-
{member.avatarUrl ? (
109-
<img src={member.avatarUrl} alt="" className="w-4 h-4 rounded-full mr-2" />
108+
{avatarUrl ? (
109+
<img src={avatarUrl} alt="" className="w-4 h-4 rounded-full mr-2" />
110110
) : (
111111
<div className="w-4 h-4 rounded-full mr-2 bg-pk-content-tertiary" />
112112
)}

0 commit comments

Comments
 (0)