Updated nav and page title for profiles
• Updated: - nav and page title for profiles to be emojified
This commit is contained in:
@@ -58,12 +58,13 @@ class ProfilePage extends ImmutablePureComponent {
|
||||
params: { username },
|
||||
} = this.props
|
||||
|
||||
const name = !!account ? account.get('display_name_html') : ''
|
||||
|
||||
const nameHTML = !!account ? account.get('display_name_html') : ''
|
||||
const name = !!account ? account.get('display_name_plain') : ''
|
||||
|
||||
return (
|
||||
<ProfileLayout
|
||||
account={account}
|
||||
title={name}
|
||||
titleHTML={nameHTML}
|
||||
unavailable={unavailable}
|
||||
>
|
||||
<PageTitle path={`${name} (@${username})`} />
|
||||
|
||||
Reference in New Issue
Block a user