react-coinbase-commerce
react-coinbase-commerce copied to clipboard
Clicking the "Close" button in the Coinbase Commerce modal navigates the page back
I'd expect the Close button to behave like clicking the "X" in the top-right corner and just close the modal and call my onModalClosed callback, but instead it logs an error and navigates the whole page back.
The error logged is "no product state to return to", which appears in the Coinbase Commerce checkout js loaded by the modal, and which is followed by a call to goBack(). Go to https://commerce.coinbase.com/static/js/checkout.04d9aced.js and search for "no product state to return to".
I'd hazard a guess that this is actually an issue with the non-public Commerce Checkout code instead of this repo, but since I don't have access to that repo, I'm posting the issue here!
