Link to remote profile instead of local profile

This commit is contained in:
ChaelCodes 2023-10-05 19:48:07 +00:00
parent 32ab474472
commit d4a5b54534
1 changed files with 2 additions and 4 deletions

View File

@ -2,8 +2,6 @@ import PropTypes from 'prop-types';
import { defineMessages, injectIntl } from 'react-intl';
import { Link } from 'react-router-dom';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
@ -32,10 +30,10 @@ class AccountAuthorize extends ImmutablePureComponent {
return (
<div className='account-authorize__wrapper'>
<div className='account-authorize'>
<Link to={`/@${account.get('acct')}`} className='detailed-status__display-name'>
<a href={account.get('uri')} className='detailed-status__display-name'>
<div className='account-authorize__avatar'><Avatar account={account} size={48} /></div>
<DisplayName account={account} />
</Link>
</a>
<div className='account__header__content translate' dangerouslySetInnerHTML={content} />
</div>