Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Xstoudi committed Oct 9, 2017
1 parent 207144d commit 398c818
Showing 7 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion src/script/actions/feeds-actions.js
Original file line number Diff line number Diff line change
@@ -11,7 +11,6 @@ export function editFeed(feedId, newTitle) {
}
}
export function updateArticles(feedTitle, articles) {
console.log('update articles action')
return {
type: 'UPDATE_ARTICLES',
payload: { feedTitle, articles }
2 changes: 0 additions & 2 deletions src/script/components/article-content.jsx
Original file line number Diff line number Diff line change
@@ -4,8 +4,6 @@ import { connect } from 'react-redux'

class ArticleContent extends React.Component {
render() {
if(this.props.selectedArticle)
console.log(this.props.selectedArticle.isRtl)
let content
if(this.props.selectedArticle == null) content = 'Select an article'
else content = (
1 change: 0 additions & 1 deletion src/script/components/modals/add-feed-modal.jsx
Original file line number Diff line number Diff line change
@@ -140,7 +140,6 @@ class AddFeedModal extends React.Component {
this._reset()
} else
this.props.addAddFeedError(error instanceof BadFeedType ? 'Unrecognized feed type' : 'Failed to fetch feed')
console.log(error)

// Unblock UI
this.props.hideLoader()
1 change: 0 additions & 1 deletion src/script/components/modals/settings-modal.jsx
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ class SettingsModal extends React.Component {
}

render() {
console.log(this.props)
return (
<div className={'modal-background' + ' ' + (this.props.openModal === 'settings' ? '' : 'hidden')}>
<div className='modal'>
1 change: 0 additions & 1 deletion src/script/components/modals/tracker-modal.jsx
Original file line number Diff line number Diff line change
@@ -104,7 +104,6 @@ class TrackerModal extends React.Component {
}

_badTokenHandler(res) {
console.log(res)
if (res.status === 400)
remote.app.quit()
}
2 changes: 1 addition & 1 deletion src/script/reducers/feeds-reducer.js
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ export default function (state = defaultState, action) {
...feed,
title: action.payload.feedId === idx ? action.payload.newTitle : feed.title
}))}
case 'UPDATE_ARTICLES': console.log('reducer articles update'); return {...state, feeds: state.feeds.map(feed => ({
case 'UPDATE_ARTICLES': return {...state, feeds: state.feeds.map(feed => ({
...feed,
articles: action.payload.feedTitle === feed.title ? action.payload.articles : feed.articles
}))}
1 change: 0 additions & 1 deletion src/script/utils/storage.js
Original file line number Diff line number Diff line change
@@ -34,7 +34,6 @@ export default class Storage {

_autoStore() {
this.autoStoreId = setInterval(() => {
console.log('Autostore')
if (this.storeRequest === true) {
this._store()
this.storeRequest = false

0 comments on commit 398c818

Please sign in to comment.