Skip to content

Commit

Permalink
fix: Re-signing reject case redirect to same send page
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-wallet committed Dec 20, 2024
1 parent e27771f commit a740400
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/fetch-extension/src/pages-new/send/send-phase-2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,22 @@ export const SendPhase2: React.FC<SendPhase2Props> = observer(
duration: 0.25,
},
});

if (keyRingStore.keyRingType === "ledger") {
navigate("/send", {
replace: true,
state: {
isNext: true,
isFromPhase1: false,
configs: {
amount: sendConfigs.amountConfig.amount,
sendCurr: sendConfigs.amountConfig.sendCurrency,
recipient: sendConfigs.recipientConfig.recipient,
memo: sendConfigs.memoConfig.memo,
},
},
});
}
}
} finally {
// XXX: If the page is in detached state,
Expand Down

0 comments on commit a740400

Please sign in to comment.