forked from Kieran/snort
bug: missing resize on avatars
This commit is contained in:
parent
0ef82a4c18
commit
0fb387e35c
@ -10,7 +10,7 @@ const Avatar = ({ user, ...rest }: { user?: UserMetadata, onClick?: () => void }
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (user?.picture) {
|
if (user?.picture) {
|
||||||
proxy(user.picture)
|
proxy(user.picture, 120)
|
||||||
.then(a => setUrl(a))
|
.then(a => setUrl(a))
|
||||||
.catch(console.warn);
|
.catch(console.warn);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user