Skip to content

Commit

Permalink
Fixed the bug which I used (') instead of (
Browse files Browse the repository at this point in the history
  • Loading branch information
gikdev committed Apr 21, 2024
1 parent 7b17a29 commit 49de5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 49de5f3

Please sign in to comment.