HomePhabricator
Diffusion Comm 87657d1bd188

[patch] Export `emojiAvatarForAddress` from `rainbowkit`

Tags
None
Referenced Files
F359168: dd31ad.png
Feb 3 2023, 11:05 AM
File Not Attached
Subscribers
None

Description

[patch] Export emojiAvatarForAddress from rainbowkit

Summary:
We want to export the emojiAvatarForAddress function from rainbowkit so we can "create our own ConnectButton".

With the address (via useAccount()), the emoji (via emojiAvatarForAddress), the AccountModal (via useAccountModal()), and (potentially) the ENS Avatar (via wagmi:useEnsAvatar()): we have everything we need.

Test Plan:
Able to log the avatar from SIWELoginForm:

dd31ad.png (1×2 px, 264 KB)

Reviewers: ashoat, tomek

Reviewed By: ashoat

Subscribers: ashoat, tomek

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

Details

Provenance
atulAuthored on Feb 2 2023, 3:22 PM
Reviewer
ashoat
Differential Revision
D6548: [patch] Export `emojiAvatarForAddress` from `rainbowkit`
Parents
rCOMM6f890fbc3563: [web] Equalize `modal_body` vertical/horizontal padding
Branches
Unknown
Tags
Unknown