Skip to content

Commit

Permalink
fix: fire off swap at the same time as bluetooth connection modal
Browse files Browse the repository at this point in the history
  • Loading branch information
derHowie committed Nov 24, 2024
1 parent 8baa22d commit 0e0c81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__swaps__/screens/Swap/components/SwapBottomPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ export function SwapBottomPanel() {
const handleHwConnectionAndSwap = useCallback(() => {
try {
if (isHardwareWallet && configProgress.value === NavigationSteps.SHOW_REVIEW) {
SwapNavigation.handleSwapAction();
navigate(Routes.HARDWARE_WALLET_TX_NAVIGATOR, {
submit: () => {
navigate(-1); // close hw sheet after receiving device input
SwapNavigation.handleSwapAction();
},
});
} else {
Expand Down

0 comments on commit 0e0c81e

Please sign in to comment.