diff --git a/src/components/ScoreTrendChart.tsx b/src/components/ScoreTrendChart.tsx index 2d01849..61aed68 100644 --- a/src/components/ScoreTrendChart.tsx +++ b/src/components/ScoreTrendChart.tsx @@ -76,67 +76,67 @@ export const ScoreTrendChart: React.FC = ({ {/* Recharts Curve */} -
- {snapshots.length === 0 ? ( -
- No score history available yet. -
+
+ {filteredData.length === 0 ? ( +

+ No score history available for this account. +

) : ( - - - - - - - - - - - - - - - { - if (active && payload && payload.length) { - const data = payload[0].payload; - return ( -
-

{data.fullDate}

-
- Pulse Score: - {data.score} / 100 -
+ + + + + + + + + + + + + + + { + if (active && payload && payload.length) { + const data = payload[0].payload; + return ( +
+

{data.fullDate}

+
+ Pulse Score: + {data.score} / 100
- ); - } - return null; - }} - /> - - - +
+ ); + } + return null; + }} + /> + + +
)}