Skip to content

Commit a828248

Browse files
committed
Show custom avatar
1 parent 547708c commit a828248

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

apps/web/src/components/FollowList.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ const GET_USER_WITH_FOLLOWS = gql`
4848
greeting_name
4949
slug
5050
bio
51+
avatar_variant
52+
custom_avatar_data
5153
created_at
5254
}
5355
}
@@ -61,6 +63,8 @@ const GET_USER_WITH_FOLLOWS = gql`
6163
greeting_name
6264
slug
6365
bio
66+
avatar_variant
67+
custom_avatar_data
6468
created_at
6569
}
6670
}
@@ -96,7 +100,7 @@ function UserCard({ user, isFollowing, onFollowToggle, currentUserId }) {
96100
style={{ color: "inherit" }}
97101
>
98102
<Avatar
99-
image={generateRetroAvatar(user.slug || user.user_id, 64)}
103+
image={generateRetroAvatar(user.slug || user.user_id, 64, user)}
100104
size="large"
101105
shape="square"
102106
className="mr-3"

0 commit comments

Comments
 (0)