mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	* feat: change color scheme * feat: add navigation menu * fix: add bg image * fix: add archive and strategies to navigation * fix: round corners * feat: mobile view project details * feat: mobile view navigation * fix: only show menu if user is admin * fix: rename navigation * fix: only render relevant routes for oss context * feat: add project actions * feat: add icons * feat: add breadcrumbs * fix: place breadcrumbs absolutely * fix: adjust breadcrumbs * fix: toast * fix: cleanup * fix login * fix: breadcrumbs * fix: add billing link * fix: links * fix: feature view * fix: path to go back * fix: remove default value * fix: remove unused imports * refactor: delete outdated test * fix: add item to filter in breadcrumb * fix: remove console log
		
			
				
	
	
		
			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;
 |