mirror of
https://github.com/franjsco/tomadoro
synced 2024-12-12 16:26:30 +01:00
Fix seconds
This commit is contained in:
parent
2459d691bc
commit
5acd2292d2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user