bug: cant open dm chat

This commit is contained in:
Kieran 2023-05-10 16:20:03 +01:00
parent a56591996b
commit dcf854ddbb
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export default function ProfileImage({
}, [user, pubkey, overrideUsername]);
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">
<Avatar user={user} />
</div>