[lib] Introduce useAvailableThreadMemberActions and consume in web/Member
Summary:
Similar to getAvailableThreadMemberActions but consumes useThreadHasPermission instead of threadHasPermission.
Also consume hook in web/Member to show usage.
Test Plan:
flow + close reading for now
Logged return value of getAvailableThreadMemberActions before and useAvailableThreadMemberActions after to ensure that they remained the same.
Before:
After:
Reviewers: ashoat, ginsu, tomek, varun, will
Reviewed By: ashoat
Differential Revision: https://phab.comm.dev/D11913