Make things work in prod

This commit is contained in:
2026-05-17 20:34:52 +02:00
parent e23f8904ef
commit 5a6b57da33
20 changed files with 416 additions and 46 deletions
+5 -5
View File
@@ -70,11 +70,11 @@ const WakeupPlot: React.FC<WakeupBedtimeProps> = ({ from_date, to_date, wakeup_r
domain={['dataMin - 30', 'dataMax + 30']}
/>
<Tooltip
formatter={(value: number) => [
formatMinutesAfter(value, wakeup_ref),
'Wakeup',
]}
labelFormatter={(label) => label}
formatter={(value: any) => [
formatMinutesAfter(value ?? 0, wakeup_ref),
'Wakeup',
] as any}
labelFormatter={(label) => label}
/>
<Line
type="monotone"