Skip to content

Commit

Permalink
don't make quote/quote2 queries for the wrong type of swap
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Dec 24, 2024
1 parent 8a6e483 commit c0e68af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/components/SwapForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export const SwapForm = () => {
query: {
retry: false,
retryOnMount: false,
enabled: isSwap1,
},
});

Expand Down Expand Up @@ -280,6 +281,7 @@ export const SwapForm = () => {
query: {
retry: false,
retryOnMount: false,
enabled: !isSwap1,
},
});

Expand Down

0 comments on commit c0e68af

Please sign in to comment.