We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8decef4 commit 0562302Copy full SHA for 0562302
packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.tsx
@@ -426,10 +426,6 @@ function useOnRampScreenState(props: {
426
} else if (swapQuoteQuery.data && !swapTxHash) {
427
// Execute swap/bridge
428
try {
429
- // Pause to handle any free tier rate limit
430
- await new Promise((resolve) => setTimeout(resolve, 1_000));
431
- // The quote is likely stale, so refetch it
432
- await swapQuoteQuery.refetch();
433
const result = await swapMutation.mutateAsync({
434
quote: swapQuoteQuery.data,
435
});
0 commit comments