Skip to content

Commit

Permalink
commented milliseconds example in App.js
Browse files Browse the repository at this point in the history
  • Loading branch information
amrlabib committed Nov 30, 2020
1 parent 017a350 commit 4946e43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ function MyTimer({ expiryTimestamp }) {
export default function App() {
const time = new Date();
time.setSeconds(time.getSeconds() + 600); // 10 minutes timer
// time.setMilliseconds(time.getMilliseconds() + 6500); // 6.5 seconds timer
return (
<div>
<MyTimer expiryTimestamp={time} />
Expand Down

0 comments on commit 4946e43

Please sign in to comment.