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

@@ -21,7 +21,7 @@ export default class ProfileLayout extends ImmutablePureComponent {
static propTypes = {
account: ImmutablePropTypes.map,
children: PropTypes.node.isRequired,
title: PropTypes.string,
titleHTML: PropTypes.string,
unavailable: PropTypes.bool,
}
@@ -29,7 +29,7 @@ export default class ProfileLayout extends ImmutablePureComponent {
const {
account,
children,
title,
titleHTML,
unavailable,
} = this.props
@@ -38,7 +38,7 @@ export default class ProfileLayout extends ImmutablePureComponent {
<Responsive max={BREAKPOINT_EXTRA_SMALL}>
{
!!me &&
<ProfileNavigationBar title={title} />
<ProfileNavigationBar titleHTML={titleHTML} />
}
{
!me &&