mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +00:00
fix: change initial value
This commit is contained in:
parent
f3cb2a1b63
commit
a7e5368591
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export function Pomodoro({ onClose, show }: PomodoroProps) {
|
||||||
|
|
||||||
const [selectedTab, setSelectedTab] = useState('pomodoro');
|
const [selectedTab, setSelectedTab] = useState('pomodoro');
|
||||||
const [running, setRunning] = useState(false);
|
const [running, setRunning] = useState(false);
|
||||||
const [timer, setTimer] = useState(0);
|
const [timer, setTimer] = useState(10);
|
||||||
const interval = useRef<ReturnType<typeof setInterval> | null>(null);
|
const interval = useRef<ReturnType<typeof setInterval> | null>(null);
|
||||||
|
|
||||||
const [times, setTimes] = useState<Record<string, number>>({
|
const [times, setTimes] = useState<Record<string, number>>({
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue