Skip to content

Conversation

@S0nee
Copy link

@S0nee S0nee commented Jan 23, 2026

Added import useEffect for the hook to work correctly in the App component.


PR-Codex overview

This PR updates the README.md file in the packages/web3-react-agw directory to include an additional import statement for useEffect from React, enhancing the functionality of the component.

Detailed summary

  • Added useEffect import from React in the README.md file.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@changeset-bot
Copy link

changeset-bot bot commented Jan 23, 2026

⚠️ No Changeset found

Latest commit: a2e339f

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

@cursor
Copy link

cursor bot commented Jan 23, 2026

PR Summary

Updates the AGW README usage example for correctness and behavior.

  • Import useEffect in the App example and add an effect to call agw.connectEagerly() on mount with a debug fallback
  • Ensures the example compiles and demonstrates eager connection setup

Written by Cursor Bugbot for commit a2e339f. This will update automatically on new commits. Configure here.

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