Make things work in prod
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user