mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 14:37:21 +01:00
remove obsolete logging
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user