HomePhabricator
Diffusion Comm 64ad347fd686

[lib] Turn `canPromoteSidebar` to `useCanPromoteSidebar` hook

Description

[lib] Turn canPromoteSidebar to useCanPromoteSidebar hook

Summary:
Part of deprecating use of threadHasPermission on client.


Depends on D11791

Test Plan: flow + close reading

Reviewers: ashoat, ginsu, tomek

Reviewed By: ashoat

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

Details

Provenance
atulAuthored on Fri, Apr 26, 11:49 AM
Reviewer
ashoat
Differential Revision
D11792: [lib] Turn `canPromoteSidebar` to `useCanPromoteSidebar` hook
Parents
rCOMMa234956433a8: [native] Don't auto-capitalize password entry in PasswordSelection
Branches
Unknown
Tags
Unknown