You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When integrating AppKit with Solana Wallet Adapter in a Next.js app using the App Router, the wallet disconnects on every route change. This results in modals (e.g., wallet selection) being re-rendered. The issue is evident in next js app multi-page setups where navigation between pages triggers the wallet adapter to disconnect.
Link to minimal reproducible example
https://github.com/reown-com/appkit-web-examples/tree/main/nextjs/next-solana-app-router
Summary
When integrating
AppKit
with Solana Wallet Adapter in a Next.js app using the App Router, the wallet disconnects on every route change. This results in modals (e.g., wallet selection) being re-rendered. The issue is evident in next js app multi-page setups where navigation between pages triggers the wallet adapter to disconnect.Steps to Reproduce
AppKit
and Solana Wallet Adapter following the provided example:Next.js Solana App Router Example.
List of related npm package versions
@reown/appkit" "^1.6.3",
"@reown/appkit-adapter-solana": "^1.6.3",
"@reown/appkit-wallet-button": "^1.6.3",
"next": "15.0.1",
Node.js Version
v22.11.0
Package Manager
1.22.22
The text was updated successfully, but these errors were encountered: