File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ export type UserAvatarProps = {
9
9
export const UserAvatar : FC < UserAvatarProps > = ( {
10
10
username,
11
11
avatarURL,
12
-
13
12
...avatarProps
14
13
} ) => {
15
14
return (
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import { groupMachine } from "xServices/groups/groupXService"
34
34
import { Maybe } from "components/Conditionals/Maybe"
35
35
import { makeStyles } from "@mui/styles"
36
36
import { PaginationStatus } from "components/PaginationStatus/PaginationStatus"
37
+ import { UserAvatar } from "components/UserAvatar/UserAvatar"
37
38
38
39
const AddGroupMember : React . FC < {
39
40
isLoading : boolean
@@ -188,6 +189,12 @@ export const GroupPage: React.FC = () => {
188
189
< TableRow key = { member . id } >
189
190
< TableCell width = "99%" >
190
191
< AvatarData
192
+ avatar = {
193
+ < UserAvatar
194
+ username = { member . username }
195
+ avatarURL = { member . avatar_url }
196
+ />
197
+ }
191
198
title = { member . username }
192
199
subtitle = { member . email }
193
200
/>
You can’t perform that action at this time.
0 commit comments