diff --git a/src/components/HistoryChart.tsx b/src/components/HistoryChart.tsx index f61b102..3a848fd 100644 --- a/src/components/HistoryChart.tsx +++ b/src/components/HistoryChart.tsx @@ -254,18 +254,21 @@ export default function HistoryChart({ {formatLabel(point.id, activeDataKey)} - {comparison && point.compareLabel && activeDataKey !== "daily" && ( - - {formatLabel(point.compareLabel, activeDataKey)} - - )} + + {point.compareLabel + ? formatLabel(point.compareLabel, activeDataKey) + : "placeholder"} + );