remove obsolete logging

This commit is contained in:
Thomas Ruoff
2017-02-21 23:10:18 +01:00
parent 22a5b92079
commit e2e85a9be6
4 changed files with 3 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ export function generatePdf(state){
body: JSON.stringify(state)
}).then(function(res) {
if (res.status !== 200) {
console.log('request failed');
console.error('request failed');
return;
}
return res.json();

View File

@@ -8,9 +8,8 @@ function init() {
init();
if (process.env.NODE_ENV === 'production') {
console.log('for real now');
console.log('What are ya looking at?');
} else {
// use preact's devtools
require('preact/devtools');
// listen for HMR
if (module.hot) {