Skip to content

Commit

Permalink
Merge cf043eb into d312658
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat authored Jan 13, 2025
2 parents d312658 + cf043eb commit cbf8005
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/__swaps__/screens/Swap/providers/swap-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import { useConnectedToAnvilStore } from '@/state/connectedToAnvil';
import { useBackendNetworksStore, getChainsNativeAssetWorklet } from '@/state/backendNetworks/backendNetworks';
import { getSwapsNavigationParams } from '../navigateToSwaps';
import { LedgerSigner } from '@/handlers/LedgerSigner';
import showWalletErrorAlert from '@/helpers/support';

const swapping = i18n.t(i18n.l.swap.actions.swapping);
const holdToSwap = i18n.t(i18n.l.swap.actions.hold_to_swap);
Expand Down Expand Up @@ -266,6 +267,7 @@ export const SwapProvider = ({ children }: SwapProviderProps) => {
if (!wallet) {
isSwapping.value = false;
haptics.notificationError();
showWalletErrorAlert();
return;
}

Expand Down

0 comments on commit cbf8005

Please sign in to comment.