Remove chartProfitData reference that didn't exist — chart1 only shows referral dataset

This commit is contained in:
Marty Bostick
2026-07-29 22:24:16 +00:00
parent ec908668e8
commit ae858d65a1
-10
View File
@@ -1787,16 +1787,6 @@ ${numPeople > 0 ? `
if (chart3) { chart3.destroy(); chart3 = null; } if (chart3) { chart3.destroy(); chart3 = null; }
const datasets = [ const datasets = [
{
label: 'Their Cumulative Profit',
data: chartProfitData.map(d => d.cum),
borderColor: '#00d2ff',
backgroundColor: 'rgba(0,210,255,0.1)',
fill: true,
tension: 0.3,
pointRadius: 3,
pointHoverRadius: 5,
},
referralDataset, referralDataset,
].filter(Boolean); ].filter(Boolean);