Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //RedeemSubscriptionStepOne.js
  2.     execButtonAction = () => {
  3.         const { history } = this.props;
  4.  
  5.         history.push('/redeemsubscription/2/');
  6.     }
  7.  
  8. //RedeemedSubscription.js
  9. //trocar if da linha 61 por
  10. if(!subscription.hasOwnProperty('redeemedCustomerSubscription')){
  11.  
  12. //Subscription.js
  13. //linha 106 incluir history no objeto
  14. const {redeembenefit, customer, authorization, redeemBenefits, history} = this.props;
  15.  
  16. //linha 131 - remover history do parametro do setTimeout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement