bug: missing resize on avatars

This commit is contained in:
Kieran 2023-01-31 15:02:18 +00:00
parent 0ef82a4c18
commit 0fb387e35c
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ const Avatar = ({ user, ...rest }: { user?: UserMetadata, onClick?: () => void }
useEffect(() => {
if (user?.picture) {
proxy(user.picture)
proxy(user.picture, 120)
.then(a => setUrl(a))
.catch(console.warn);
}