Skip to content

Commit 4fc3f8f

Browse files
committed
fix: increase delay after transactions in step executor
1 parent fb41acb commit 4fc3f8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/thirdweb/src/react/core/hooks/useStepExecutor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export function useStepExecutor(
237237
if (tx.action === "approval" || tx.action === "fee") {
238238
// don't poll status for approval transactions, just wait for confirmation
239239
await waitForReceipt(result);
240-
await new Promise((resolve) => setTimeout(resolve, 1000)); // Add an extra second delay for RPC to catch up to new state
240+
await new Promise((resolve) => setTimeout(resolve, 2000)); // Add an extra 2 second delay for RPC to catch up to new state
241241
return;
242242
}
243243

0 commit comments

Comments
 (0)