This website requires JavaScript.
Explore
Help
Sign In
sergiodt
/
vn-verdnaturachat
Watch
0
Star
0
Fork
You've already forked vn-verdnaturachat
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
376c8e8252
vn-verdnaturachat
/
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'
;