linkVerifiedOn:{id:'account.link_verified_on',defaultMessage:'Ownership of this link was checked on {date}'},
account_locked:{id:'account.locked_info',defaultMessage:'This account privacy status is set to locked. The owner manually reviews who can follow them.'},
@ -65,8 +62,6 @@ class Header extends ImmutablePureComponent {
staticpropTypes={
account:ImmutablePropTypes.map,
identity_props:ImmutablePropTypes.list,
onFollow:PropTypes.func.isRequired,
onBlock:PropTypes.func.isRequired,
intl:PropTypes.object.isRequired,
username:PropTypes.string,
isStaff:PropTypes.bool.isRequired,
@ -199,30 +194,6 @@ class Header extends ImmutablePureComponent {
returninfo;
};
getActionBtn(){
const{account,intl,me}=this.props;
letactionBtn=null;
if(!account||!me)returnactionBtn;
if(me!==account.get('id')){
if(!account.get('relationship')){// Wait until the relationship is loaded