Skip to content

docs(react): fix EIP-5792 hook examples - #5194

Merged
tmm merged 1 commit into
wevm:mainfrom
Osraka:osraka/fix-react-eip5792-hook-docs
Jul 13, 2026
Merged

docs(react): fix EIP-5792 hook examples#5194
tmm merged 1 commit into
wevm:mainfrom
Osraka:osraka/fix-react-eip5792-hook-docs

Conversation

@Osraka

@Osraka Osraka commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes a few React EIP-5792 hook docs examples that were using core/action-style snippets:

  • updates useCapabilities, useCallsStatus, and useWaitForCallsStatus parameter examples to import hooks from wagmi
  • wraps those examples in React component usage instead of await use...
  • fixes copied frontmatter descriptions for useCapabilities and useCallsStatus
  • corrects the useCapabilities connector description

Validation

  • git diff --check
  • rg "import \\{ use[A-Za-z]+ \\} from '@wagmi/core'|const status = await use[A-Za-z]+\\(" site/react/api/hooks -n
  • rg "most recent block seen" site/react/api/hooks/useCapabilities.md site/react/api/hooks/useCallsStatus.md -n

Docs-only change; I did not run the full site build locally because dependencies were not installed in this checkout.

@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

@Osraka is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Jul 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c426c00

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@tmm
tmm merged commit c3c814c into wevm:main Jul 13, 2026
2 of 4 checks passed
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.

2 participants