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

[bug] TypeError: this.provider.disconnect is not a function #2238

Open
1 task done
MadKittyxyz opened this issue Oct 31, 2024 · 0 comments
Open
1 task done

[bug] TypeError: this.provider.disconnect is not a function #2238

MadKittyxyz opened this issue Oct 31, 2024 · 0 comments

Comments

@MadKittyxyz
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

2.2.0

wagmi Version

2.12.17

Current Behavior

Hey guys, I used out of the box rainbowkit installation process and everything is working great unless my page sits idle for a period then this errors pops up. Usually when Metamask is the wallet provider.

Not sure how to solve this one and any help would be greatly appreciated!

1 of 1 error
Next.js (14.2.13) out of date (learn more)
Unhandled Runtime Error
TypeError: this.provider.disconnect is not a function
Call Stack
ei.transportDisconnect
node_modules/@walletconnect/core/dist/index.es.js (1:42451)
eval
node_modules/@walletconnect/core/dist/index.es.js (1:46825)
eval
node_modules/@walletconnect/utils/dist/index.es.js (17:1407)

Expected Behavior

No response

Steps To Reproduce

Simply install rainbowkit (from docs: npm install @rainbow-me/rainbowkit wagmi [email protected] @tanstack/react-query)

basic chain setup etc, nothing out of the ordinary from documentation.

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

@MadKittyxyz MadKittyxyz changed the title [bug] <title> [bug] TypeError: this.provider.disconnect is not a function Oct 31, 2024
@github-actions github-actions bot deleted a comment from casehub2 Nov 3, 2024
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