Skip to content

Commit e130fd5

Browse files
authored
fix timeout span
1 parent aaa0414 commit e130fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const addSecond = () => {
6363
updateDate(currentDate.setSeconds(currentDate.getSeconds() + 1));
6464
}
6565

66-
setInterval(addSecond, 1);
66+
setInterval(addSecond, 1000);
6767

6868
return (
6969
<div></div>

0 commit comments

Comments
 (0)