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
@@ -70,10 +70,10 @@ const BedtimePlot: React.FC<WakeupBedtimeProps> = ({ from_date, to_date, wakeup_
domain={['dataMin - 30', 'dataMax + 30']}
/>
<Tooltip
formatter={(value: number) => [
formatMinutesAfter(value, bedtime_ref),
formatter={(value: any) => [
value !== undefined ? formatMinutesAfter(value, bedtime_ref) : '',
'Bedtime',
]}
] as any}
labelFormatter={(label) => label}
/>
<Line