1
0
Fork 0

Show displayName too

This commit is contained in:
Lim Chee Aun 2023-08-08 14:03:27 +08:00
parent 9a44dfafa6
commit c3f80cec9b

View file

@ -39,7 +39,7 @@ function NameText({
class={`name-text ${showAcct ? 'show-acct' : ''} ${short ? 'short' : ''}`}
href={url}
target={external ? '_blank' : null}
title={`@${acct}`}
title={`${displayName ? `${displayName} ` : ''}@${acct}`}
onClick={(e) => {
if (external) return;
e.preventDefault();