From 6e198d9ed4bebc76c8c796f8b1fe674e7dd11597 Mon Sep 17 00:00:00 2001 From: Su Yeon Lee Date: Thu, 25 Jul 2024 13:33:20 +0900 Subject: [PATCH] prettier --- client/src/Reports/useDonationStatistics.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/src/Reports/useDonationStatistics.ts b/client/src/Reports/useDonationStatistics.ts index 5ff2d257..2d09c3c5 100644 --- a/client/src/Reports/useDonationStatistics.ts +++ b/client/src/Reports/useDonationStatistics.ts @@ -32,9 +32,7 @@ const useDonationStatistics = () => { }); }; - const getReportForDateRange = ( - filteredData: IDonation[], - ) => { + const getReportForDateRange = (filteredData: IDonation[]) => { if (filteredData.length > 0 && donorsData.length > 0) { const total_donated = filteredData.reduce( (total, donation) => total + donation.amount,