Quantcast
Viewing latest article 3
Browse Latest Browse All 3

What's the equivalent of this.props.history.push in gatsby?

I'm trying to do this.props.history.push("/payment/"+ stripe_plan_id)

What is the equivalent of this.props.history.push in Gastby?

I get the error TypeError: Cannot read property 'push' of undefined


Viewing latest article 3
Browse Latest Browse All 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>