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

Error when connecting to WalletConnect on locally hosted version #14

Open
BartoszSolkaBD opened this issue Aug 2, 2023 · 0 comments
Open

Comments

@BartoszSolkaBD
Copy link
Contributor

⚠️ This issue is also open in Uniswap/interface repository, available here Uniswap/interface#7064
Please check the Uniswap repository first, as it may contain additional information

Bug Description
This bug occurs while trying to connect a wallet using WalletConnect on a locally hosted frontend.

I cannot reproduce this bug on the production app https://app.uniswap.org/
Steps to Reproduce

  1. Run the app locally
  2. Try to connect wallet with WalletConnect
  3. Error occurs

Expected Behavior
WalletConnect connection should proceed without errors.

Additional Context
image

The connectors prop passed to Web3ReactProvider must be referentially static. If connectors is changing, try providing a key prop to Web3ReactProvider that changes every time connectors changes.
    at Web3ReactProvider (http://localhost:3000/static/js/bundle.js:437795:13)
    at renderWithHooks (http://localhost:3000/static/js/bundle.js:376161:22)
    at updateFunctionComponent (http://localhost:3000/static/js/bundle.js:379043:24)
    at beginWork (http://localhost:3000/static/js/bundle.js:380755:20)
    at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:365753:18)
    at Object.invokeGuardedCallbackDev (http://localhost:3000/static/js/bundle.js:365797:20)
    at invokeGuardedCallback (http://localhost:3000/static/js/bundle.js:365854:35)
    at beginWork$1 (http://localhost:3000/static/js/bundle.js:385728:11)
    at performUnitOfWork (http://localhost:3000/static/js/bundle.js:384975:16)
    at workLoopSync (http://localhost:3000/static/js/bundle.js:384898:9)
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