[Bug]: Metamask wallet reject on refresh of page using Rainbow connector #24267
Labels
external-contributor
Sev2-normal
Normal severity; minor loss of service or inconvenience.
team-wallet-api-platform
type-bug
Describe the bug
why, when my Dapp is refreshing for some metamask wallet, the wallet is disconnecting ?
Not for every wallet, just some wallet connecting to metamask through RainbowKit.
Expected behavior
I am expecting, on refresh, to still have the wallet connected. The state connect is not working well, as it's disconnecting for some wallet while it's should be the case.
const { connectors } = getDefaultWallets({
appName: "My RainbowKit App",
projectId: " ",
chains,
});
const wagmiConfig = createConfig({
autoConnect: true,
connectors,
publicClient,
});
AutoConnect, is set to true, so on refresh of the page, it should stay connected.
Screenshots/Recordings
No response
Steps to reproduce
Error messages or log output
No response
Version
Throught @rainbow-me/rainbowkit": "^1.3.2"
Build type
None
Browser
Chrome, Firefox
Operating system
Windows, MacOS
Hardware wallet
No response
Additional context
No response
Severity
No response
The text was updated successfully, but these errors were encountered: