Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanilla JS doc uses React hooks #230

Open
ethan-tqa opened this issue Jan 3, 2025 · 0 comments
Open

Vanilla JS doc uses React hooks #230

ethan-tqa opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ethan-tqa
Copy link

Describe the bug

The relevant document page is here.
In the Smart Contract Interaction section, the example code uses hook that are only available in React, specifically useAppKitAccount and useAppKitProvider.
Further more, up on checking the source code, I think the example usage of useAppKitProvider is incorrect too, as useAppKitProvider does not include a connection member in the returned object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant