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

Missing allowUnsupportedChain parameter in documentation #220

Open
cgero-eth opened this issue Dec 29, 2024 · 0 comments
Open

Missing allowUnsupportedChain parameter in documentation #220

cgero-eth opened this issue Dec 29, 2024 · 0 comments

Comments

@cgero-eth
Copy link

Context

The createAppKit function from the '@reown/appkit/react' package includes an allowUnsupportedChain parameter in the AppKitOptions type. This parameter prevents the switch network dialog when a user connects to a network not listed under the networks attribute. However, this parameter is not documented in the official documentation page.

The allowUnsupportedChain parameter is defined in the AppKitOptions type as follows:
TypesUtil.ts Source Code

/**
 * Allow users to switch to an unsupported chain.
 * @see https://docs.reown.com/appkit/react/core/options#allowunsupportedchain
 */
allowUnsupportedChain?: boolean;

The parameter is missing from the corresponding documentation page:
Shared Options Documentation

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

No branches or pull requests

1 participant