code cleanup
This commit is contained in:
parent
31d4d46742
commit
b5dad6b5fb
1 changed files with 0 additions and 3 deletions
|
@ -378,8 +378,6 @@ class PublishPage extends React.PureComponent {
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(publishParams);
|
|
||||||
|
|
||||||
updatePublishForm(publishParams);
|
updatePublishForm(publishParams);
|
||||||
this.setState({ publishStarted: true }, () => publish(this.handlePublishSuccess, this.handlePublishFailure));
|
this.setState({ publishStarted: true }, () => publish(this.handlePublishSuccess, this.handlePublishFailure));
|
||||||
};
|
};
|
||||||
|
@ -395,7 +393,6 @@ class PublishPage extends React.PureComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
handlePublishFailure = error => {
|
handlePublishFailure = error => {
|
||||||
console.log(error);
|
|
||||||
const { notify } = this.props;
|
const { notify } = this.props;
|
||||||
notify({ message: __('Your content could not be published at this time. Please try again.') });
|
notify({ message: __('Your content could not be published at this time. Please try again.') });
|
||||||
this.setState({ publishStarted: false });
|
this.setState({ publishStarted: false });
|
||||||
|
|
Loading…
Reference in a new issue