Skip to content

Commit

Permalink
fix: remove unneeded onBehalf while creating prepaid donation
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitb35 committed Nov 13, 2024
1 parent 09ccd93 commit 10fbef4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Donations/Components/DonationsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ function DonationsForm(): ReactElement {
project: projectDetails.id,
units: quantity,
prePaid: true,
onBehalf: onBehalf,
metadata: _metadata,
...(onBehalf && { donor: _onBehalfDonor }),
...(isGift && { gift: _gift }),
Expand Down

0 comments on commit 10fbef4

Please sign in to comment.