diff options
author | Alex Gessner <alex.gessner@gmail.com> | 2019-03-28 13:01:09 -0400 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-03-29 10:13:44 +0100 |
commit | b6fa500806f68d5394174e1f341dc61e3578760e (patch) | |
tree | 64f5887dc8f69ebe59c97c92ed8b60f1eb201087 /app/javascript/flavours/glitch/features/account_timeline/components | |
parent | a74d300b68ca992aece2763556de87bd65e0ba73 (diff) |
[Glitch] squashed identity proof updates
Port JS from 69141dca26f8a28d3aff63387b1c8d2bba7fdfa3 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/features/account_timeline/components')
-rw-r--r-- | app/javascript/flavours/glitch/features/account_timeline/components/header.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/account_timeline/components/header.js b/app/javascript/flavours/glitch/features/account_timeline/components/header.js index 291db69df..96cabe847 100644 --- a/app/javascript/flavours/glitch/features/account_timeline/components/header.js +++ b/app/javascript/flavours/glitch/features/account_timeline/components/header.js @@ -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} |