Make linter happy

This commit is contained in:
Henri Bergius 2017-11-30 18:17:46 +01:00
parent 2cf060f88c
commit 55e5de5560

View file

@ -13,7 +13,6 @@ class Time extends Component {
if (!this.time) { if (!this.time) {
this.time = Date.now(); this.time = Date.now();
} }
console.log(this.time, this.interval);
if (!this.interval) { if (!this.interval) {
return; return;
} }
@ -35,7 +34,7 @@ class Time extends Component {
} }
render({ time, format }) { render({ time, format }) {
let useFormat = format || 'ddd ddS HH:MM:ss'; const useFormat = format || 'ddd ddS HH:MM:ss';
return dateformat(new Date(time), useFormat); return dateformat(new Date(time), useFormat);
} }
} }