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)
Tue, Nov 12, 7:22 AM
Unknown Object (File)
Tue, Nov 12, 6:30 AM
Unknown Object (File)
Mon, Nov 11, 12:47 AM
Unknown Object (File)
Sun, Nov 10, 10:28 PM
Unknown Object (File)
Sun, Nov 10, 10:22 PM
Unknown Object (File)
Sun, Nov 10, 8:22 PM
Unknown Object (File)
Sun, Nov 10, 1:50 PM
Unknown Object (File)
Mon, Oct 21, 9:40 AM
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