Remove uneeded field, domain

This commit is contained in:
Alex Gleason 2020-04-27 15:30:17 -05:00
parent 090b9fa426
commit 0529817a6d
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
3 changed files with 0 additions and 4 deletions

View file

@ -66,7 +66,6 @@ class Header extends ImmutablePureComponent {
onFollow: PropTypes.func.isRequired,
onBlock: PropTypes.func.isRequired,
intl: PropTypes.object.isRequired,
domain: PropTypes.string.isRequired,
username: PropTypes.string,
autoPlayGif: PropTypes.bool,
isStaff: PropTypes.bool.isRequired,

View file

@ -21,7 +21,6 @@ export default class Header extends ImmutablePureComponent {
onUnblockDomain: PropTypes.func.isRequired,
onEndorseToggle: PropTypes.func.isRequired,
onAddToList: PropTypes.func.isRequired,
domain: PropTypes.string.isRequired,
username: PropTypes.string,
};
@ -103,7 +102,6 @@ export default class Header extends ImmutablePureComponent {
onUnblockDomain={this.handleUnblockDomain}
onEndorseToggle={this.handleEndorseToggle}
onAddToList={this.handleAddToList}
domain={this.props.domain}
username={this.props.username}
/>
</div>

View file

@ -34,7 +34,6 @@ const makeMapStateToProps = () => {
const mapStateToProps = (state, { accountId }) => ({
account: getAccount(state, accountId),
domain: state.getIn(['meta', 'domain']),
identity_proofs: state.getIn(['identity_proofs', accountId], ImmutableList()),
});