Skip to content

Commit

Permalink
CLEANUP: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaip committed Mar 1, 2018
1 parent 24847be commit ccf043f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Resources/Private/NewsletterView/src/NewsletterView.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export default class NewsletterView extends Component {
const isTest = false;
sendNewsletter(this.props.focusedNodeContextPath, this.state.selectedSubscription, isTest)
.then(json => {
console.log('asdf', json);
return json.status === 'success' ? this.setState({isSent: true}) : this.setState({isError: true});
})
.catch(() => this.setState({isError: true}));
Expand All @@ -96,7 +95,6 @@ export default class NewsletterView extends Component {
const isTest = true;
sendNewsletter(this.props.focusedNodeContextPath, this.state.selectedSubscription, isTest, email)
.then(json => {
console.log('asdf1', json);
return json.status === 'success' ? this.setState({isSent: true}) : this.setState({isError: true})
})
.catch(() => this.setState({isError: true}));
Expand Down
2 changes: 0 additions & 2 deletions Resources/Public/JavaScript/NewsletterView/Plugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ccf043f

Please sign in to comment.