From b5dad6b5fb19ce467bd4506990eaa190a3b9f714 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Fri, 27 Sep 2019 00:02:08 +0100 Subject: [PATCH] code cleanup --- src/page/publish/view.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/page/publish/view.js b/src/page/publish/view.js index 3673640..fcb6404 100644 --- a/src/page/publish/view.js +++ b/src/page/publish/view.js @@ -378,8 +378,6 @@ class PublishPage extends React.PureComponent { }), }; - console.log(publishParams); - updatePublishForm(publishParams); this.setState({ publishStarted: true }, () => publish(this.handlePublishSuccess, this.handlePublishFailure)); }; @@ -395,7 +393,6 @@ class PublishPage extends React.PureComponent { }; handlePublishFailure = error => { - console.log(error); const { notify } = this.props; notify({ message: __('Your content could not be published at this time. Please try again.') }); this.setState({ publishStarted: false });