diff --git a/client/src/components/Donation/components/DonateFormChildViewForHOC.js b/client/src/components/Donation/components/DonateFormChildViewForHOC.js index 888159ffac..39ab2a896c 100644 --- a/client/src/components/Donation/components/DonateFormChildViewForHOC.js +++ b/client/src/components/Donation/components/DonateFormChildViewForHOC.js @@ -26,8 +26,7 @@ const propTypes = { isSignedIn: PropTypes.bool, stripe: PropTypes.shape({ createToken: PropTypes.func.isRequired - }), - theme: PropTypes.string + }) }; const initialState = { donationState: { @@ -39,7 +38,7 @@ const initialState = { const mapStateToProps = createSelector( userSelector, - ({ email, theme }) => ({ email, theme }) + ({ email }) => ({ email }) ); class DonateFormChildViewForHOC extends Component { @@ -176,7 +175,7 @@ class DonateFormChildViewForHOC extends Component { renderDonateForm() { const { isFormValid } = this.state; - const { theme, getDonationButtonLabel } = this.props; + const { getDonationButtonLabel } = this.props; return (
@@ -191,10 +190,7 @@ class DonateFormChildViewForHOC extends Component { value={this.getUserEmail()} /> - +