HomePhabricator
Diffusion Comm 9c19d63b2e5b

[web] Replace `threadHasPermission` with `useThreadHasPermission` in…

Description

[web] Replace threadHasPermission with useThreadHasPermission in ThreadMenu

Summary:
Similar to D11749, but for ThreadMenu


Depends on D11749

Test Plan:
flow + close reading.

Will test generally at end to make sure things work as expected. Don't think it's practical to manually test each of these trivial changes.

Reviewers: ginsu, tomek, varun, will

Reviewed By: tomek

Subscribers: ashoat

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