HomePhabricator
Diffusion Comm ca7ba3e7bb9b

[web] Replace `canToggleMessagePin` with `useCanToggleMessagePin` in…

Description

[web] Replace canToggleMessagePin with useCanToggleMessagePin in useMessageTogglePinAction

Summary:
Similar to D11819, but for useMessageTogglePinAction


Depends on D11819

Test Plan: flow + close reading

Reviewers: ashoat, ginsu, tomek, varun

Reviewed By: ashoat

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