From 080154b34fd0cd907fb3d7623c2752b13dfa7ffd Mon Sep 17 00:00:00 2001 From: Ahmad Abdolsaheb Date: Mon, 7 Dec 2020 12:49:20 +0300 Subject: [PATCH] fix: adjust ga value for stripe modal (#40360) --- client/src/components/Donation/DonateFormChildViewForHOC.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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({