From 62a8f8d492f92ccb241abfb66406caeddd4efa54 Mon Sep 17 00:00:00 2001 From: EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> Date: Wed, 14 Sep 2022 08:13:39 +0800 Subject: Update numberUtils.js --- utils/numberUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/numberUtils.js b/utils/numberUtils.js index b701c21..8d5e7c3 100644 --- a/utils/numberUtils.js +++ b/utils/numberUtils.js @@ -89,7 +89,7 @@ let utils = { let secs = (time / 1000) % 60 if (mins === 0) return `${secs.toFixed(secondDecimals)}s` - else return `${mins}m ${secs.toFixed(secondDecimals)}s` + return `${mins}m ${secs.toFixed(secondDecimals)}s` }, timeNumber2: (time) => { let hours = Math.floor(time / 1000 / 60 / 60) -- cgit