HomePhabricator
Diffusion Comm cf34b97ebde6

[web] make useSortedENSResolvedUsers more permissive

Description

[web] make useSortedENSResolvedUsers more permissive

Summary:
In the next diff we are going to want to use useSortedENSResolvedUsers to sort + resolve the thread members infos just like we did with the add friend list modal. However, right now useSortedENSResolvedUsers is currently typed so thread members can't use this hook since they use RelativeMemberInfo.

This diff updates useSortedENSResolvedUsers so that it can be used in both places

Test Plan: flow + confirmed that users are sorted correctly in the add users list + thread members list

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ashoat, tomek

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

Details

Provenance
ginsuAuthored on Feb 6 2024, 3:08 PM
Reviewer
atul
Differential Revision
D10920: [web] make useSortedENSResolvedUsers more permissive
Parents
rCOMM92cc4444a3e6: [lib] Replace 60_000 with 60000 to fix iOS GitHub CI
Branches
Unknown
Tags
Unknown