Skip to content

Commit

Permalink
fix (#5894)
Browse files Browse the repository at this point in the history
  • Loading branch information
benisgold authored Jun 26, 2024
1 parent f1ea550 commit aa22575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/__swaps__/screens/Swap/providers/swap-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import { queryClient } from '@/react-query';
import { userAssetsQueryKey } from '@/resources/assets/UserAssetsQuery';
import { userAssetsStore } from '@/state/assets/userAssets';
import { swapsStore } from '@/state/swaps/swapsStore';
import { ethereumUtils } from '@/utils';
import { ethereumUtils, haptics } from '@/utils';
import { CrosschainQuote, Quote, QuoteError } from '@rainbow-me/swaps';

import { Address } from 'viem';
Expand Down Expand Up @@ -206,7 +206,7 @@ export const SwapProvider = ({ children }: SwapProviderProps) => {
const wallet = await loadWallet(parameters.quote.from, false, provider);
if (!wallet) {
isSwapping.value = false;
Alert.alert(i18n.t(i18n.l.swap.unable_to_load_wallet));
haptics.notificationError();
return;
}

Expand Down
1 change: 0 additions & 1 deletion src/languages/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,6 @@
"withdraw_symbol": "Withdraw %{symbol}"
},
"unknown": "Unknown",
"unable_to_load_wallet": "Unable to load wallet",
"warning": {
"cost": {
"are_you_sure_title": "Are you sure?",
Expand Down

0 comments on commit aa22575

Please sign in to comment.