From 49de5f3274fe3e0bcc182dacc9ea752c251843ef Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Bahrami Date: Sun, 21 Apr 2024 17:38:31 +0330 Subject: [PATCH] Fixed the bug which I used (') instead of ( --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 9319c25..52a357c 100644 --- a/src/main.js +++ b/src/main.js @@ -57,7 +57,7 @@ let isDark = true let time = new Date() // UTILS -const zeroify = obj => (obj < 10) ? ('0${obj}') : (obj) +const zeroify = obj => (obj < 10) ? (`0${obj}`) : (obj) const isDay = () => (5 < time.getHours() && time.getHours() < 20) const playTap = () => tap.play()