chore: Update translations

This commit is contained in:
2024-03-19 12:04:21 +00:00
parent 382f9b6e1b
commit a3f1393999
4 changed files with 26 additions and 20 deletions

View File

@ -32,8 +32,8 @@ const Avatar = ({
}: AvatarProps) => {
const defaultImg = defaultAvatar(pubkey);
const url = useMemo(() => {
if((image?.length ?? 0) > 0) return image;
if((user?.picture?.length ?? 0) > 0) return user?.picture;
if ((image?.length ?? 0) > 0) return image;
if ((user?.picture?.length ?? 0) > 0) return user?.picture;
return defaultImg;
}, [user, image, pubkey]);