fix(comments): link to profile from name and npub

Closes #117
This commit is contained in:
enes 2024-11-13 16:41:15 +01:00
parent d6bc3b8684
commit 4140438044

View File

@ -356,12 +356,12 @@ const Comment = (props: CommentEvent) => {
</div> </div>
<div className='IBMSMSMBSSCL_CommentTopDetailsWrapper'> <div className='IBMSMSMBSSCL_CommentTopDetailsWrapper'>
<div className='IBMSMSMBSSCL_CommentTopDetails'> <div className='IBMSMSMBSSCL_CommentTopDetails'>
<a className='IBMSMSMBSSCL_CTD_Name' href='profile.html'> <Link className='IBMSMSMBSSCL_CTD_Name' to={profileRoute}>
{profile?.displayName || profile?.name || ''}{' '} {profile?.displayName || profile?.name || ''}{' '}
</a> </Link>
<a className='IBMSMSMBSSCL_CTD_Address' href='profile.html'> <Link className='IBMSMSMBSSCL_CTD_Address' to={profileRoute}>
{hexToNpub(props.pubkey)} {hexToNpub(props.pubkey)}
</a> </Link>
</div> </div>
<div className='IBMSMSMBSSCL_CommentActionsDetails'> <div className='IBMSMSMBSSCL_CommentActionsDetails'>
<a className='IBMSMSMBSSCL_CADTime'> <a className='IBMSMSMBSSCL_CADTime'>