This website requires JavaScript.
Explore
Help
Sign In
verdnatura-mirror
/
Rocket.Chat.ReactNative
mirror of
https://github.com/RocketChat/Rocket.Chat.ReactNative
Watch
2
Star
0
Fork
You've already forked Rocket.Chat.ReactNative
1
Code
Issues
Packages
Projects
Releases
Wiki
Activity
531f3d0147
Rocket.Chat.ReactNative
/
app
/
lib
/
hooks
/
index.ts
3 lines
68 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Chore: Create useAppSelector hook (#4189) * create useAppSelector hook * migrate useSelector to useAppSelector
2022-05-13 15:01:34 +00:00
export
*
from
'./useAppSelector'
;
Chore: Hooks - create usePermissions (#4190) * Chore: Hooks - create custom hook usePermissions * minor tweak * Change usage of usePermissiosn on LivechatEditView * Create getPermissionsSelector * Simplify selector * Simplify userRoles * First render with permissions array length of false * Move roles state closer to each other * useSubscription (not working, but looking cool) * at least it's working now * working * cleanup * solve ts return * Change it to useSubscriptionRoles only and check for diff on the state * Remove IAppState * Minor tweak to work properly useSubscriptionRoles Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-13 20:36:54 +00:00
export
*
from
'./usePermissions'
;