From 55e5de556015e8b2498c927cef0bd7ce54f52315 Mon Sep 17 00:00:00 2001 From: Henri Bergius Date: Thu, 30 Nov 2017 18:17:46 +0100 Subject: [PATCH] Make linter happy --- elements/time.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/elements/time.js b/elements/time.js index 2ffbe3d..d524e84 100644 --- a/elements/time.js +++ b/elements/time.js @@ -13,7 +13,6 @@ class Time extends Component { if (!this.time) { this.time = Date.now(); } - console.log(this.time, this.interval); if (!this.interval) { return; } @@ -35,7 +34,7 @@ class Time extends Component { } 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); } }