HomePhabricator
Diffusion Comm 8a92a8829f5a

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

Description

[web] Open RainbowKit AccountModal when ConnectedWalletInfo is clicked

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:

Reviewers: ashoat, tomek, ginsu, rohan

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D6633

Details

Provenance
atulAuthored on Feb 7 2023, 8:37 AM
Reviewer
ashoat
Differential Revision
D6633: [web] Open RainbowKit `AccountModal` when `ConnectedWalletInfo` is clicked
Parents
rCOMM15b85c77ca16: [desktop] Buildkite CI for macOS electron app
Branches
Unknown
Tags
Unknown