mirror of
				https://github.com/CorentinTh/it-tools.git
				synced 2025-11-04 02:47:00 -05:00 
			
		
		
		
	refactor: menu option key
This commit is contained in:
		
							parent
							
								
									5f74037105
								
							
						
					
					
						commit
						390ef93232
					
				@ -21,7 +21,8 @@ const m = toolsByCategory.map(category => ({
 | 
				
			|||||||
    type: 'group',
 | 
					    type: 'group',
 | 
				
			||||||
    children: category.components.map(({ name, path, icon }) => ({
 | 
					    children: category.components.map(({ name, path, icon }) => ({
 | 
				
			||||||
        label: makeLabel(name, path),
 | 
					        label: makeLabel(name, path),
 | 
				
			||||||
        icon: makeIcon(icon)
 | 
					        icon: makeIcon(icon),
 | 
				
			||||||
 | 
					        key: name
 | 
				
			||||||
    }))
 | 
					    }))
 | 
				
			||||||
}))
 | 
					}))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user