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

docs: fix useChain and setChain documentation #852

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

avarobinson
Copy link
Collaborator

@avarobinson avarobinson commented Jul 22, 2024

Pull Request Checklist


PR-Codex overview

The focus of this PR is to update the setChain function in the useChain.tsx file to accept an object parameter containing the chain value instead of directly passing the value.

Detailed summary

  • Updated setChain function in useChain.tsx to accept an object parameter { chain: optimism }
  • Added documentation specifying the parameter format for setChain function

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

Copy link

vercel bot commented Jul 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2024 5:31pm
aa-sdk-ui-demo ❌ Failed (Inspect) Jul 22, 2024 5:31pm

@avarobinson avarobinson merged commit 9ebf009 into main Jul 23, 2024
5 of 6 checks passed
@avarobinson avarobinson deleted the ava/fix-usechain-docs branch July 23, 2024 16:10
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.

SetChain in multi chain doesn't work
2 participants