bug: cant open dm chat

This commit is contained in:
Kieran 2023-05-10 16:20:03 +01:00
parent a56591996b
commit dcf854ddbb
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941

View File

@ -39,7 +39,7 @@ export default function ProfileImage({
}, [user, pubkey, overrideUsername]); }, [user, pubkey, overrideUsername]);
return ( return (
<Link className={`pfp${className ? ` ${className}` : ""}`} to={link === undefined ? profileLink(pubkey) : ""}> <Link className={`pfp${className ? ` ${className}` : ""}`} to={link === undefined ? profileLink(pubkey) : link}>
<div className="avatar-wrapper"> <div className="avatar-wrapper">
<Avatar user={user} /> <Avatar user={user} />
</div> </div>