Skip to content

Commit 9eb4ca2

Browse files
committed
Enhance ConnectWallet and RootLayout components with improved wallet detection and state management
- Integrated wallet detection logic to trigger re-mounting of the ConnectWallet component when wallets are detected, improving responsiveness to user actions. - Refactored state management in ConnectWallet to utilize useWalletContext for better access to wallet connection states and error handling. - Updated RootLayout to utilize the active wallet instance, ensuring accurate wallet data during user initialization. - Enhanced user feedback with toast notifications for connection and disconnection events, improving overall user experience.
1 parent df43c06 commit 9eb4ca2

File tree

4 files changed

+593
-116
lines changed

4 files changed

+593
-116
lines changed

0 commit comments

Comments
 (0)