Skip to content

Commit 0562302

Browse files
committed
fix
1 parent 8decef4 commit 0562302

File tree

1 file changed

+0
-4
lines changed
  • packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat

1 file changed

+0
-4
lines changed

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,10 +426,6 @@ function useOnRampScreenState(props: {
426426
} else if (swapQuoteQuery.data && !swapTxHash) {
427427
// Execute swap/bridge
428428
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();
433429
const result = await swapMutation.mutateAsync({
434430
quote: swapQuoteQuery.data,
435431
});

0 commit comments

Comments
 (0)