Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Su Yeon Lee authored and Su Yeon Lee committed Jul 25, 2024
1 parent 7ccc1f7 commit 6e198d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/src/Reports/useDonationStatistics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6e198d9

Please sign in to comment.