Remove the @ if short or empty display name

Experimental as the '@' seems superfluous
pull/228/head
Lim Chee Aun 2023-09-22 20:38:36 +08:00
rodzic 85a4b382da
commit a816b69ee9
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -71,9 +71,9 @@ function NameText({
)}
</>
) : short ? (
<i>@{username}</i>
<i>{username}</i>
) : (
<b>@{username}</b>
<b>{username}</b>
)}
{showAcct && (
<>