Skip to content

Commit

Permalink
Transaction cancel sppedup modal should disappear after transaction i…
Browse files Browse the repository at this point in the history
…s confirmed
  • Loading branch information
jpuri committed Jul 22, 2024
1 parent 1bb1768 commit 58afcb9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/components/UI/Transactions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,14 @@ class Transactions extends PureComponent {

componentDidUpdate() {
this.updateBlockExplorer();
if (
this.props.confirmedTransactions.some(
({ id }) => id === this.existingTx?.id,
)
) {
this.onSpeedUpCompleted();
this.onCancelCompleted();
}
}

init() {
Expand Down

0 comments on commit 58afcb9

Please sign in to comment.