Skip to content

Commit

Permalink
feat: remove onAllTransactionComplete after txComplete
Browse files Browse the repository at this point in the history
  • Loading branch information
codingki committed Jan 25, 2024
1 parent 1432fec commit d062c16
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,7 @@ export interface BroadcastedTx {
explorerLink: string;
}

function TransactionDialogContent({
route,
onClose,
isAmountError,
transactionCount,
onAllTransactionComplete,
}: Props) {
function TransactionDialogContent({ route, onClose, isAmountError, transactionCount }: Props) {
const { data: chains = [] } = useChains();

const skipClient = useSkipClient();
Expand Down Expand Up @@ -210,7 +204,6 @@ function TransactionDialogContent({

historyId && txHistory.success(historyId);
setTxComplete(true);
onAllTransactionComplete?.();
} catch (err: unknown) {
if (process.env.NODE_ENV === "development") {
console.error(err);
Expand Down

0 comments on commit d062c16

Please sign in to comment.