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

web3auth modal is default open when wagmi config has autoConnect #110

Open
danielsimao opened this issue Nov 20, 2023 · 0 comments
Open

Comments

@danielsimao
Copy link

If autoConnect is set to true, every time the page is reloaded (and there is no wallet connected) the modal is opened by default.

import Web3AuthConnectorInstance from './Web3AuthConnectorInstance';

const config = createConfig({
  autoConnect: true,
  connectors: [
    ...
    Web3AuthConnectorInstance(chains)
  ],
  webSocketPublicClient,
  publicClient
});

Expected: should not open by default.

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