diff --git a/client/src/components/Donation/DonateFormChildViewForHOC.js b/client/src/components/Donation/DonateFormChildViewForHOC.js index 223a799462..f047e4eaa6 100644 --- a/client/src/components/Donation/DonateFormChildViewForHOC.js +++ b/client/src/components/Donation/DonateFormChildViewForHOC.js @@ -123,10 +123,7 @@ class DonateFormChildViewForHOC extends Component { // change the donation modal button label to close // or display the close button for the cert donation section if (this.props.handleProcessing) { - this.props.handleProcessing( - this.state.donationDuration, - Math.round(amount / 100) - ); + this.props.handleProcessing(duration, amount); } return this.props.postChargeStripe({