Skip to content

Commit

Permalink
Show jupiter error before tx error (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass authored Nov 27, 2024
1 parent a2afe5c commit 7c94b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/swaps/SwapScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ const SwapScreen = () => {
return t('swapsScreen.insufficientTokensToSwap')
if (hasInsufficientBalance) return t('generic.insufficientBalance')
if (networkError) return networkError
if (transactionError) return transactionError
if (jupiterError) return jupiterError
if (transactionError) return transactionError
if (routeNotFound) return t('swapsScreen.routeNotFound')
}, [
hasRecipientError,
Expand Down

0 comments on commit 7c94b6b

Please sign in to comment.