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