Skip to content

Commit 4946e43

Browse files
committed
commented milliseconds example in App.js
1 parent 017a350 commit 4946e43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/App.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ function MyTimer({ expiryTimestamp }) {
4545
export default function App() {
4646
const time = new Date();
4747
time.setSeconds(time.getSeconds() + 600); // 10 minutes timer
48+
// time.setMilliseconds(time.getMilliseconds() + 6500); // 6.5 seconds timer
4849
return (
4950
<div>
5051
<MyTimer expiryTimestamp={time} />

0 commit comments

Comments
 (0)