[web] Replace threadHasPermission with useThreadHasPermission in ThreadSettings*
Summary:
Similar to D11752, but for ThreadSettingsGeneralTab and ThreadSettingsModal
Depends on D11752
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, varun, will, ashoat
Reviewed By: ashoat
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D11753