Showing
2 changed files
with
1 additions
and
1 deletions
This diff could not be displayed because it is too large.
... | @@ -34,7 +34,7 @@ function MainPage(props) { | ... | @@ -34,7 +34,7 @@ function MainPage(props) { |
34 | const hours = String(date.getHours()).padStart(2, "0"); | 34 | const hours = String(date.getHours()).padStart(2, "0"); |
35 | const minutes = String(date.getMinutes()).padStart(2, "0"); | 35 | const minutes = String(date.getMinutes()).padStart(2, "0"); |
36 | const seconds = String(date.getSeconds()).padStart(2, "0"); | 36 | const seconds = String(date.getSeconds()).padStart(2, "0"); |
37 | - setTime("${hours}:${minutes}:${seconds}"); | 37 | + setTime(hours+":"+minutes+":"+seconds); |
38 | } | 38 | } |
39 | 39 | ||
40 | const startTimer = () => { | 40 | const startTimer = () => { | ... | ... |
-
Please register or login to post a comment