Skip to content

fix(template): stabilize receipt polling client - #391

Draft
Takaros999 wants to merge 1 commit into
mainfrom
takis/fix-template-receipt-client
Draft

Takaros999 wants to merge 1 commit into
mainfrom
takis/fix-template-receipt-client

Conversation

@Takaros999

Copy link
Copy Markdown
Contributor

This PR addresses review feedback from #389 by keeping the viem public client stable across Transaction component renders.

  • Moves the World Chain public client to module scope.
  • Prevents useWaitForUserOperationReceipt from aborting and restarting polling on each render.

Validation:

  • pnpm --filter @worldcoin/next-15-template build
  • git diff --check

@vercel

vercel Bot commented Apr 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
minikit-js-with-next Building Building Preview, Comment Apr 25, 2026 4:34am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant