Skip to content

Commit

Permalink
no more unecessary console log
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldoramos committed Dec 27, 2017
1 parent 30b8f36 commit cfa7aba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion views/main.jsx
Expand Up @@ -202,7 +202,9 @@ export default class Main extends React.Component {
// Handle main events
ipcRenderer.on('update' , function(event , result) {
this.setState({updateAvailable:result.updateAvailable,updateInfo:result.updateInfo})
console.log(result)
if(result.updateAvailable){
console.log(result)
}
}.bind(this))

ipcRenderer.on('suspend' , function(event , result) {
Expand Down

0 comments on commit cfa7aba

Please sign in to comment.