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 1e9658b commit 64d140bCopy full SHA for 64d140b
src/js/app.js
@@ -44,6 +44,7 @@ const Pomodoro = React.createClass({
44
},
45
46
play() {
47
+ if(this.state.play) { return false; }
48
clearInterval(this.interval);
49
this.interval = setInterval(this.elapseTime, 1000);
50
this.setState({play: true});
0 commit comments