Updated nav and page title for profiles

• Updated:
- nav and page title for profiles to be emojified
This commit is contained in:
mgabdev
2020-05-26 20:33:53 -04:00
parent cb13954e9e
commit 163f6ab1e7
5 changed files with 16 additions and 14 deletions

View File

@@ -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})`} />