remove two unused assignments
Этот коммит содержится в:
@@ -109,7 +109,6 @@ export default class CreateComment extends React.Component {
|
|||||||
post.pending_post_id = `${userId}:${time}`;
|
post.pending_post_id = `${userId}:${time}`;
|
||||||
post.user_id = userId;
|
post.user_id = userId;
|
||||||
post.create_at = time;
|
post.create_at = time;
|
||||||
post.attachments = [];
|
|
||||||
|
|
||||||
PostStore.storePendingPost(post);
|
PostStore.storePendingPost(post);
|
||||||
PostStore.storeCommentDraft(this.props.rootId, null);
|
PostStore.storeCommentDraft(this.props.rootId, null);
|
||||||
|
|||||||
@@ -173,7 +173,6 @@ export default class CreatePost extends React.Component {
|
|||||||
post.create_at = time;
|
post.create_at = time;
|
||||||
post.root_id = this.state.rootId;
|
post.root_id = this.state.rootId;
|
||||||
post.parent_id = this.state.parentId;
|
post.parent_id = this.state.parentId;
|
||||||
post.attachments = [];
|
|
||||||
|
|
||||||
const channel = ChannelStore.get(this.state.channelId);
|
const channel = ChannelStore.get(this.state.channelId);
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user