mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
9 lines
196 B
TypeScript
9 lines
196 B
TypeScript
|
import { useContext } from 'react';
|
||
|
import AccessContext from '../contexts/AccessContext';
|
||
|
|
||
|
const usePermissions = () => {
|
||
|
return useContext(AccessContext);
|
||
|
};
|
||
|
|
||
|
export default usePermissions;
|