[Glitch] squashed identity proof updates

Port JS from 69141dca26 to glitch-soc
This commit is contained in:
Alex Gessner
2019-03-28 13:01:09 -04:00
committed by ThibG
parent a74d300b68
commit b6fa500806
9 changed files with 91 additions and 9 deletions

View File

@ -13,6 +13,7 @@ export default class Header extends ImmutablePureComponent {
static propTypes = {
account: ImmutablePropTypes.map,
identity_proofs: ImmutablePropTypes.list,
onFollow: PropTypes.func.isRequired,
onBlock: PropTypes.func.isRequired,
onMention: PropTypes.func.isRequired,
@ -85,7 +86,7 @@ export default class Header extends ImmutablePureComponent {
}
render () {
const { account, hideTabs } = this.props;
const { account, hideTabs, identity_proofs } = this.props;
if (account === null) {
return <MissingIndicator />;
@ -97,6 +98,7 @@ export default class Header extends ImmutablePureComponent {
<InnerHeader
account={account}
identity_proofs={identity_proofs}
onFollow={this.handleFollow}
onBlock={this.handleBlock}
onMention={this.handleMention}