ml-opensource / admin-panel-template-reactjs

25 stars 10 forks source link

Chore: Move permissions to hook #105

Closed jacksonjp closed 3 years ago

jacksonjp commented 3 years ago

What are you adding?

Permissions were not updated when theres a change in redux state, moved the hasPermissions to a hook to always get the latest changes from useAppSelector

Breaking changes?

Related PR