Fallback to username
This commit is contained in:
parent
245a0f4fc8
commit
97450f416c
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ const ChatWindow = () => {
|
||||||
<LinkWrapper enabled={isOpen} to={`@${chat.account.acct}`}>
|
<LinkWrapper enabled={isOpen} to={`@${chat.account.acct}`}>
|
||||||
<Stack alignItems='start'>
|
<Stack alignItems='start'>
|
||||||
<div className='flex items-center space-x-1 flex-grow'>
|
<div className='flex items-center space-x-1 flex-grow'>
|
||||||
<Text size='sm' weight='bold' truncate>{chat.account.display_name}</Text>
|
<Text size='sm' weight='bold' truncate>{chat.account.display_name || `@${chat.account.acct}`}</Text>
|
||||||
{chat.account.verified && <VerificationBadge />}
|
{chat.account.verified && <VerificationBadge />}
|
||||||
</div>
|
</div>
|
||||||
{chat.message_expiration && (
|
{chat.message_expiration && (
|
||||||
|
|
Loading…
Reference in a new issue