mirror of
https://github.com/CorentinTh/it-tools.git
synced 2024-09-17 16:47:11 +03: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',
|
||||
children: category.components.map(({ name, path, icon }) => ({
|
||||
label: makeLabel(name, path),
|
||||
icon: makeIcon(icon)
|
||||
icon: makeIcon(icon),
|
||||
key: name
|
||||
}))
|
||||
}))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user