HomePhabricator
Diffusion Comm 03015a99aa5a

[lib] Make stringForUser and useStringForUser work with any user types

Description

[lib] Make stringForUser and useStringForUser work with any user types

Summary:
This change makes it so UserInfo, CurrentUserInfo, AccountUserInfo, etc. all work with these functions.

This allows us to use a single entrypoint for ENS-fetching across a variety of different contexts.

Depends on D6419

Test Plan: This is a types-only change, so I tested with Flow

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Jan 27 2023, 12:12 PM
Reviewer
atul
Differential Revision
D6420: [lib] Make stringForUser and useStringForUser work with any user types
Parents
rCOMMcc0745fa4a0a: [lib] Show cached ENS names on first render
Branches
Unknown
Tags
Unknown