Reduce composer differences with upstream and simplify code (#2518)

This commit is contained in:
Claire
2023-12-18 13:20:08 +01:00
committed by GitHub
parent 18856371be
commit 3d3fa75c81
7 changed files with 176 additions and 251 deletions

View File

@@ -30,9 +30,11 @@ export default class NavigationBar extends ImmutablePureComponent {
</Permalink>
<div className='navigation-bar__profile'>
<Permalink className='acct' href={this.props.account.get('url')} to={`/@${this.props.account.get('acct')}`}>
<strong className='navigation-bar__profile-account'>@{username}</strong>
</Permalink>
<span>
<Permalink className='acct' href={this.props.account.get('url')} to={`/@${username}`}>
<strong className='navigation-bar__profile-account'>@{username}</strong>
</Permalink>
</span>
{ profileLink !== undefined && (
<a