From 4de9daa1144536f03c86d277b4ec1288dc9df432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 28 Apr 2024 18:56:10 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: marcin mikołajczak --- src/components/status/status.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/status/status.js b/src/components/status/status.js index 36f6c602..43181897 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -421,6 +421,8 @@ const Status = { let multiplier = 60 * 1000 // minutes is smallest unit switch (unit) { case 'm': + break + case 'h': multiplier *= 60 // hour break case 'd':