constsubtitle = useMemo(() => { if (!data.length || !startLabel || !endLabel) { return"Historical view of match completion by status."; } if (startLabel === endLabel) { return`Activity recorded on ${startLabel}.`; } return`Activity from ${startLabel} to ${endLabel}.`; }, [data.length, startLabel, endLabel]);
MatchProgressChart component showing cumulative match status counts over time.
Source