mirror of
https://github.com/franjsco/tomadoro
synced 2025-06-06 00:29:13 +02:00
Fix seconds
This commit is contained in:
@ -93,7 +93,7 @@ class Timer extends Component {
|
|||||||
|
|
||||||
|
|
||||||
pomodoroMode() {
|
pomodoroMode() {
|
||||||
const pomodoroSeconds = 22;
|
const pomodoroSeconds = 1500;
|
||||||
this.setState({
|
this.setState({
|
||||||
seconds: pomodoroSeconds,
|
seconds: pomodoroSeconds,
|
||||||
break: false
|
break: false
|
||||||
@ -101,7 +101,7 @@ class Timer extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
breakMode() {
|
breakMode() {
|
||||||
const breakSeconds = 5
|
const breakSeconds = 300
|
||||||
this.setState({
|
this.setState({
|
||||||
seconds: breakSeconds,
|
seconds: breakSeconds,
|
||||||
break: true
|
break: true
|
||||||
|
Reference in New Issue
Block a user