Page MenuHomePhabricator

[web] Open RainbowKit `AccountModal` when `ConnectedWalletInfo` is clicked
ClosedPublic

Authored by atul on Feb 6 2023, 12:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 5:53 AM
Unknown Object (File)
Wed, Apr 17, 5:53 AM
Unknown Object (File)
Wed, Apr 17, 5:53 AM
Unknown Object (File)
Wed, Apr 17, 5:53 AM
Unknown Object (File)
Wed, Apr 17, 5:53 AM
Unknown Object (File)
Feb 23 2024, 12:05 AM
Unknown Object (File)
Feb 22 2024, 10:35 PM
Unknown Object (File)
Feb 22 2024, 9:01 PM
Subscribers
None

Details

Summary

Mimic the behavior of ConnectButton and open the AccountModal when ConnectedWalletInfo is clicked.

The two things remaining for ConnectedWalletInfo are:

  1. Show ENS avatar via wagmi hook if set
  2. Shorten ETH address to fit width (some sort of super simple utility function)
Test Plan

Looks as expected:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable