Is there an existing issue for this?
RainbowKit Version
2.2.4
wagmi Version
2.14.12
Current Behavior
i connect to safe wallet via walletconnect and my dapp picks the network safe wallet is connected to. when i now try to switch to a different network on my dapp using rainbowkit's network dropdown, a notification appears in the safe wallet app which is running in a different tab. upon clicking ok and selecting the account in the safe app, the wallet disconnects in the dapp and safe wallet app.
Expected Behavior
network switching should be seamless like how it works for metamask.
Steps To Reproduce
- connect to safe wallet via walletconnect
- switch the network from the rainbowkit dropdown
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
this is the wagmi config:
export const wagmiConfig = getDefaultConfig({
appName: 'enscribe',
projectId: '...',
chains: [mainnet, linea, base, sepolia, lineaSepolia, baseSepolia],
ssr: false,
})
const queryClient = new QueryClient()
export default function MyApp({ Component, pageProps }: AppProps) {
return (
<ThemeProvider defaultTheme="system" storageKey="enscribe-theme">
<WagmiProvider config={wagmiConfig}>
<QueryClientProvider client={queryClient}>
<ThemeAwareRainbowKit>
<TransactionProvider>
<Component {...pageProps} />
</TransactionProvider>
</ThemeAwareRainbowKit>
</QueryClientProvider>
</WagmiProvider>
</ThemeProvider>
)
}
Is there an existing issue for this?
RainbowKit Version
2.2.4
wagmi Version
2.14.12
Current Behavior
i connect to safe wallet via walletconnect and my dapp picks the network safe wallet is connected to. when i now try to switch to a different network on my dapp using rainbowkit's network dropdown, a notification appears in the safe wallet app which is running in a different tab. upon clicking ok and selecting the account in the safe app, the wallet disconnects in the dapp and safe wallet app.
Expected Behavior
network switching should be seamless like how it works for metamask.
Steps To Reproduce
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
this is the wagmi config: