Merge pull request #246 from fernandolguevara/fix-missing-event
fix(missing-event): avoid redirect
This commit is contained in:
commit
5c34303569
@ -36,6 +36,10 @@ export default function ProfileImage({
|
||||
return getDisplayName(user, pubkey);
|
||||
}, [user, pubkey]);
|
||||
|
||||
if (!pubkey && !link) {
|
||||
link = "#";
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={`pfp${className ? ` ${className}` : ""}`}>
|
||||
<div className="avatar-wrapper">
|
||||
|
Loading…
Reference in New Issue
Block a user