We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06e62fc commit 0e5b464Copy full SHA for 0e5b464
src/App.js
@@ -25,9 +25,9 @@ function MyTimer({ expiryTimestamp }) {
25
<button onClick={pause}>Pause</button>
26
<button onClick={resume}>Resume</button>
27
<button onClick={() => {
28
- // Resets to 10 minutes timer
+ // Restarts to 5 minutes timer
29
var t = new Date();
30
- t.setSeconds(t.getSeconds() + 600);
+ t.setSeconds(t.getSeconds() + 300);
31
restart(t)
32
}}>restart</button>
33
</div>
0 commit comments