Min is not defined
Should be: mins
This commit is contained in:
parent
78dc85424a
commit
8aecaa8598
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ function Clock({ template }) {
|
||||||
if (hours < 10) hours = '0' + hours;
|
if (hours < 10) hours = '0' + hours;
|
||||||
|
|
||||||
let mins = date.getMinutes();
|
let mins = date.getMinutes();
|
||||||
if (mins < 10) min = '0' + mins;
|
if (mins < 10) mins = '0' + mins;
|
||||||
|
|
||||||
let secs = date.getSeconds();
|
let secs = date.getSeconds();
|
||||||
if (secs < 10) secs = '0' + secs;
|
if (secs < 10) secs = '0' + secs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue