HomePhabricator
Diffusion Comm 18ae66cdc3f9

[lib] Constrain dep list of `useRoleMemberCountsForCommunity` and…

Description

[lib] Constrain dep list of useRoleMemberCountsForCommunity and useRoleUserSurfacedPermissions

Summary:
Noticed as part of D11205 that these hooks had threadInfo in their dep list which wasn't necessary.


Depends on D11209

Test Plan: ESLint/Flow

Reviewers: tomek, ginsu, michal, kamil, ashoat

Reviewed By: ashoat

Subscribers: ashoat

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