From 2e93154a25ef924da7bb80211bea6c86a021b58d Mon Sep 17 00:00:00 2001 From: Su Yeon Lee Date: Wed, 22 Jan 2025 12:57:54 -0500 Subject: [PATCH] chart fix --- client/src/Reports/ReportsPage.tsx | 65 +++++++++++++++--------------- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/client/src/Reports/ReportsPage.tsx b/client/src/Reports/ReportsPage.tsx index 75c18bfe..ad4c07a1 100644 --- a/client/src/Reports/ReportsPage.tsx +++ b/client/src/Reports/ReportsPage.tsx @@ -658,6 +658,7 @@ function ReportsPage() { }, ]; setFundraiserRawData(fundraiserData); + // console.log(fundraiserData); if (fundraiserData.length > 0) { const fundraiserSeries = [ @@ -673,6 +674,7 @@ function ReportsPage() { setFundraiserData([]); } setPurposeData(series); + // console.log(series); }; React.useEffect(() => { @@ -853,38 +855,35 @@ function ReportsPage() { - - - Donation Breakdown - - - + + + Donation Breakdown + + + + + + ); }