Skip to content

Commit

Permalink
Ledger fix (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbbasAliLokhandwala authored Oct 16, 2024
1 parent fee9837 commit 3a7a031
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 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 @@ -44,6 +44,7 @@ export const SendPhase2: React.FC<SendPhase2Props> = observer(
priceStore,
analyticsStore,
activityStore,
keyRingStore,
} = useStore();
const accountInfo = accountStore.getAccount(chainStore.current.chainId);
const navigate = useNavigate();
Expand Down Expand Up @@ -322,6 +323,9 @@ export const SendPhase2: React.FC<SendPhase2Props> = observer(
},
};
navigateOnTxnEvents(txnNavigationOptions);
if (keyRingStore.keyRingType === "ledger") {
navigate("/send");
}
},
onFulfill: (tx: any) => {
const istxnSuccess = tx.code ? false : true;
Expand Down

0 comments on commit 3a7a031

Please sign in to comment.