Refactor listener out of user profile and fix thread logic
Этот коммит содержится в:
@@ -39,12 +39,10 @@ class PostBody extends React.Component {
|
||||
this.loadImg = this.loadImg.bind(this);
|
||||
|
||||
const linkData = Utils.extractLinks(this.props.post.message);
|
||||
const profiles = UserStore.getProfiles();
|
||||
|
||||
this.state = {
|
||||
links: linkData.links,
|
||||
post: this.props.post,
|
||||
hasUserProfiles: profiles && Object.keys(profiles).length > 1
|
||||
post: this.props.post
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user