HomePhabricator
Diffusion Comm 4d4d115cf91c

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

Description

[lib] Replace threadHasPermission with useThreadHasPermission in useCanCreateReactionFromMessage

Summary:
Similar to D11817, but for useCanCreateReactionFromMessage.


Depends on D11817

Test Plan: flow + close reading

Reviewers: ashoat, ginsu, tomek, varun

Reviewed By: ashoat

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