Open albertocevallos opened 8 months ago
@albertocevallos Thank you for the report! Unfortunately our team can not reproduce this. Can you add a screenshot that includes your wallet? The only way we can do this is by leaving the transaction alone
When approval or mint is cancelled, or approved -> transaction cancelled after we get a toast. Thank you for your time!
Describe the bug Once you fill out the form (borrow amount, collateral ratio) and click on the "Borrow eBTC" action button, it opens up a model asking you to:
However, if you cancel the txn on Metamask, then the modal gets stuck in the "processing" state, you can't leave the screen because the modal is locked in place. Should be a simple fix that handles the Metamask/web3 callback with an error, updating the modal state.
To Reproduce Steps to reproduce the behavior:
Expected behavior The modal component should handle the Metamask/web3 error and turn the modal state from "processing" back to "Approve" or "Confirm" button, not get stuck "Processing".
Screenshots
Desktop (please complete the following information):