Fix relative link to Profile
This commit is contained in:
parent
5490e83caf
commit
6538db17e7
2 changed files with 4 additions and 4 deletions
|
@ -67,7 +67,7 @@ const ChatMessageListIntro = () => {
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<Stack alignItems='center' space={2}>
|
<Stack alignItems='center' space={2}>
|
||||||
<Link to={`@${chat.account.acct}`}>
|
<Link to={`/@${chat.account.acct}`}>
|
||||||
<Avatar src={chat.account.avatar_static} size={75} />
|
<Avatar src={chat.account.avatar_static} size={75} />
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ const ChatMessageListIntro = () => {
|
||||||
<Text tag='span'>{intl.formatMessage(messages.intro)}</Text>
|
<Text tag='span'>{intl.formatMessage(messages.intro)}</Text>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<Link to={`@${chat.account.acct}`}>
|
<Link to={`/@${chat.account.acct}`}>
|
||||||
<Text tag='span' theme='inherit' weight='semibold'>@{chat.account.acct}</Text>
|
<Text tag='span' theme='inherit' weight='semibold'>@{chat.account.acct}</Text>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -79,12 +79,12 @@ const ChatWindow = () => {
|
||||||
|
|
||||||
<HStack alignItems='center' space={3}>
|
<HStack alignItems='center' space={3}>
|
||||||
{isOpen && (
|
{isOpen && (
|
||||||
<Link to={`@${chat.account.acct}`}>
|
<Link to={`/@${chat.account.acct}`}>
|
||||||
<Avatar src={chat.account.avatar} size={40} />
|
<Avatar src={chat.account.avatar} size={40} />
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<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 || `@${chat.account.acct}`}</Text>
|
<Text size='sm' weight='bold' truncate>{chat.account.display_name || `@${chat.account.acct}`}</Text>
|
||||||
|
|
Loading…
Reference in a new issue