Skip to content

Commit

Permalink
Merge pull request #1151 from aurora-is-near/pa/fix-ethereum-wallets
Browse files Browse the repository at this point in the history
fix: Hide Ethereum wallets modal after tx error within a batch.
  • Loading branch information
Pavel Ivanov authored Aug 2, 2024
2 parents f1603a3 + 9ebabff commit 3054c66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ethereum-wallets/src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,8 @@ const EthereumWallets: WalletBehaviourFactory<
"Transaction execution error, failed to parse failure reason."
);
}
// NOTE: after return, `finally { hideModal() }` will run.
return;
}
results.push(nearTx);
}
Expand Down

0 comments on commit 3054c66

Please sign in to comment.