threshold-network / token-dashboard

26 stars 25 forks source link

Fix transaction modal not disappearing bug #698

Closed michalsmiarowski closed 10 months ago

michalsmiarowski commented 10 months ago

There was a bug that prevent transaction status modal to be closed after successful deposit reveal. It happened because in #651 we moved the logic from TbtcMintingConfirmation to InitiateMinting component, but we didn't include closeModal() call that was in onSuccessfulDepositReveal method. This PR fixes that.

Besides that I've improved the useEffect in InitiateMinting componen (see 16451b8b9c520a600c0203366153fda9951b1c19).

github-actions[bot] commented 10 months ago

Preview uploaded to https://preview.dashboard.test.threshold.network/fix-transaction-modal-not-disappearing-bug/index.html.