[Glitch] Profile redirect notes

Port WebUI changes from 58cede4808
This commit is contained in:
Thibaut Girka
2018-03-29 14:43:20 +02:00
parent 4e45954280
commit a59c146bf8
5 changed files with 68 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import MissingIndicator from 'flavours/glitch/components/missing_indicator';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { FormattedMessage } from 'react-intl';
import { NavLink } from 'react-router-dom';
import MovedNote from './moved_note';
export default class Header extends ImmutablePureComponent {
@@ -76,6 +77,8 @@ export default class Header extends ImmutablePureComponent {
return (
<div className='account-timeline__header'>
{account.get('moved') && <MovedNote from={account} to={account.get('moved')} />}
<InnerHeader
account={account}
onFollow={this.handleFollow}