We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd1e561 commit d9f6761Copy full SHA for d9f6761
packages/ui/src/pages/PomodoroPage.tsx
@@ -70,14 +70,12 @@ export function PomodoroPage() {
70
try {
71
const [sessionRes, statsRes] = await Promise.all([
72
pomodoroApi.getSession().catch(() => ({ session: null })),
73
- pomodoroApi
74
- .getStats()
75
- .catch(() => ({
76
- completedSessions: 0,
77
- totalWorkMinutes: 0,
78
- totalBreakMinutes: 0,
79
- interruptions: 0,
80
- })),
+ pomodoroApi.getStats().catch(() => ({
+ completedSessions: 0,
+ totalWorkMinutes: 0,
+ totalBreakMinutes: 0,
+ interruptions: 0,
+ })),
81
]);
82
setActiveSession(sessionRes.session);
83
setStats(statsRes as PomodoroStats);
0 commit comments